Le 5 mai 08 à 19:55, Jens Alfke a écrit :


On 5 May '08, at 10:45 AM, John Joyce wrote:

What's the best method to save a document as xml?
Should NSKeyedArchiver be doing this?
My document and its objects are very simple, they can easily be nothing more than BOOLs and NSStrings (as keys).

You can use either NSKeyedArchiver or NSPropertyListSerialization. The latter is simpler and produces more readable output, but only works on dictionaries/arrays/numbers/bools/dates/data.

and strings, ;-)


_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to