Re: Convert HTML to plain text
Re: Convert HTML to plain text
- Subject: Re: Convert HTML to plain text
- From: "David Brennan" <email@hidden>
- Date: Wed, 18 Apr 2007 10:42:14 +0100
Hi Johan,
As far as I know, if I load it into an attributed string, all the
images will be downloaded which can take a while, as I just want the
text I am looking for a quicker way.
On 18/04/07, Johan Kool <email@hidden> wrote:
Hello Dave,
You can read html into an attributed string using –
initWithHTML:documentAttributes: and friends, and then obtain a
NSString from the attributed string with the - string method. Note
though that this probably doesn't always work perfectly.
Johan
---
http://www.johankool.nl/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden