Re: Saving as xml
Re: Saving as xml
- Subject: Re: Saving as xml
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 5 May 2008 22:22:13 +0200
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@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