Re: AttributedString from NSData on iPhone.
Re: AttributedString from NSData on iPhone.
- Subject: Re: AttributedString from NSData on iPhone.
- From: David Duncan <email@hidden>
- Date: Thu, 5 Aug 2010 10:18:12 -0700
On Aug 5, 2010, at 10:13 AM, Sandro Noël wrote:
> David, you do understand properly as that was my question.
> how do i reassemble the NSAttributedString from a NSData where it was stored.
That is the code you have to write basically. NSAttributedString has the methods you need for both getting and setting attributes and characters. You will have to use those methods along with your own storage scheme to save and restore the NSAttributedString.
It primarily comes down to reading the documentation and asking more pointed questions if necessary :).
--
David Duncan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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