Re: CFAttributedString and NSDATA
Re: CFAttributedString and NSDATA
- Subject: Re: CFAttributedString and NSDATA
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 3 Jun 2010 13:24:44 +0200
Le 3 juin 2010 à 12:14, Chaitanya Pandit a écrit :
> It's really funny that the 3.2 SDk has incorporated the use of CFAttributedStrings, but its really funny theres no way to convert it to NSData and back.
> Does anyone have any idea about how to persist a CFAttributedString by converting it to NSData on 3.2?
> I'd appreciate any help.
>
If it behaves as the Mac OS CFAttributedString, cast it into an NSAttributedString and use an archiver.
-- Jean-Daniel
_______________________________________________
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