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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to