Re: Missing functionality in copy/paste of NSAttributedStrings? or of NSData?
Re: Missing functionality in copy/paste of NSAttributedStrings? or of NSData?
- Subject: Re: Missing functionality in copy/paste of NSAttributedStrings? or of NSData?
- From: Graham Cox <email@hidden>
- Date: Mon, 22 Jun 2009 09:58:48 +1000
On 22/06/2009, at 9:27 AM, James Stein wrote:
I need to create an NSData object from my NSAttributedString.
But how?
NSData* myStringData = [NSKeyedArchiver
archivedDataWithRootObject:myString];
--Graham
_______________________________________________
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