• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Convert HTML to plain text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert HTML to plain text


  • Subject: Re: Convert HTML to plain text
  • From: Johan Kool <email@hidden>
  • Date: Wed, 18 Apr 2007 11:32:18 +0200

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


  • Follow-Ups:
    • Re: Convert HTML to plain text
      • From: "David Brennan" <email@hidden>
References: 
 >Convert HTML to plain text (From: "David Brennan" <email@hidden>)

  • Prev by Date: Convert HTML to plain text
  • Next by Date: Re: Convert HTML to plain text
  • Previous by thread: Convert HTML to plain text
  • Next by thread: Re: Convert HTML to plain text
  • Index(es):
    • Date
    • Thread