| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 2 Jun 2004, at 14:21, Mark Bennett wrote:_______________________________________________
I have a situation where I need to read an HTML file and somehow convert it to a NSString.
I know that the NSAttributedString class can be used to read and parse the HTML, but it appears to only export its data as RTF.
If I know that the data can be represented as Unicode (i.e., there are no graphics or attachments), is there a way to create a NSString with it?
Erm,... NSAttributedString has the method "string" which returns a pointer to an NSString...
I suspect you may have been looking at just the documentation for the Cocoa NSAttributedString Additions.
Steve
_______________________________________________
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.
| References: | |
| >HTML to NSString (From: Mark Bennett <email@hidden>) | |
| >Re: HTML to NSString (From: Steve Sims <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.