Re: Attributed string in user defaults, is RTFD data OK?
Re: Attributed string in user defaults, is RTFD data OK?
- Subject: Re: Attributed string in user defaults, is RTFD data OK?
- From: Jim Correia <email@hidden>
- Date: Wed, 31 Oct 2007 12:30:35 -0400
On Oct 31, 2007, at 12:20 PM, Douglas Davidson wrote:
There are really two RTFD formats; one is the directory-based
structure used for on-disk storage, and the other is the serialized
data used on the pasteboard. The directory-based version is one of
our common file formats, so it pretty much has to be compatible
across versions; older OS versions should simply ignore newer tags
that they don't recognize. The serialized data format is a fairly
simple mapping of the directory-based one, so I think the same
should apply to it.
Thanks Douglas. I need to store this in NSUserDefaults, and
potentially in a standalone plist, so I need a serialized format.
This will be a small attributed string, but there may be (small)
attachments. If RTFD should work OK across OS releases, that seems
like the path of least resistance here since my needs are simple.
Jim
_______________________________________________
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