Re: AttributedString from NSData on iPhone.
Re: AttributedString from NSData on iPhone.
- Subject: Re: AttributedString from NSData on iPhone.
- From: Sandro Noël <email@hidden>
- Date: Thu, 5 Aug 2010 13:21:21 -0400
Thank you david,
I think i'll try serializing it and de-serializing it
that should do the trick.
Best regards.
Sandro.
On 2010-08-05, at 1:18 PM, David Duncan wrote:
> 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