• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Saving as xml
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Saving as xml (From: John Joyce <email@hidden>)
 >Re: Saving as xml (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: method definition not in @implementation context
  • Next by Date: Re: NSXMLDocument encoding
  • Previous by thread: Re: Saving as xml
  • Next by thread: Re: Cocoa-dev Digest, Vol 5, Issue 730
  • Index(es):
    • Date
    • Thread