Re: CoreData and NSAttributedString
Re: CoreData and NSAttributedString
- Subject: Re: CoreData and NSAttributedString
- From: "I. Savant" <email@hidden>
- Date: Tue, 4 Dec 2007 13:34:32 -0500
> I need to store NSAttributedStrings of small to medium size (max
> maybe 20 lines of text) in a CoreData store.
>
> My idea is to archive the attributed string and store the result as
> single binary data attribute. Is this reasonable? The typical
> approach? Other ways to handle it?
In fact that's really the *only* way to store nonstandard attribute
types. This page in the Core Data docs covers the important parts:
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdNSAttributes.html
--
I.S.
_______________________________________________
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