NSTextStorage vs HTML
NSTextStorage vs HTML
- Subject: NSTextStorage vs HTML
- From: Kirk Kerekes <email@hidden>
- Date: Mon, 20 May 2002 18:43:32 -0500
OK, back to the well-of-wisdom again.
Anybody know why this sequence works, sort of:
urlData = [NSData dataWithContentsOfURL:url];
textStorage = [[NSTextStorage alloc] initWithHTML: urlData
documentAttributes:&attributes];
But this seemingly equivalent one, using the same url (hard-coded), does
not:
textStorage = [[NSTextStorage alloc] initWithURL:url documentAttributes:
&attributes];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.