Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attributed string in user defaults, is RTFD data OK?



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Attributed string in user defaults, is RTFD data OK? (From: Jim Correia <email@hidden>)
 >Re: Attributed string in user defaults, is RTFD data OK? (From: Douglas Davidson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.