• 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
Property List Format vs NSKeyedArchiver Format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Property List Format vs NSKeyedArchiver Format


  • Subject: Property List Format vs NSKeyedArchiver Format
  • From: Bridger Maxwell <email@hidden>
  • Date: Tue, 13 Oct 2009 16:08:19 -0400

Hey,
For a cross-platform game, I need to make a game file format that would be
readable and writeable on a few different platforms. The game is simply a
serialized object graph. I am looking at the XML format used by
NSKeyedArchiver, and perhaps implementing it in the other languages.
Alternatively, I can make my own subclasses of NSCoder.

I would like to read more on the NSKeyedArchiver XML format, but can't find
documentation on it. Is it open? NSKeyedArchiver has a property
"outputFormat" which can be set to NSPropertyListXMLFormat_v1_0. However, I
thought property lists could only contain certain objects (dictionary,
array, etc.), and didn't handle things like circular references. Is the
property list format and the format used by NSKeyedArchiver the same?

-Bridger Maxwell
_______________________________________________

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

  • Follow-Ups:
    • Re: Property List Format vs NSKeyedArchiver Format
      • From: Jens Alfke <email@hidden>
    • Re: Property List Format vs NSKeyedArchiver Format
      • From: Tony Parker <email@hidden>
  • Prev by Date: Re: arrayWithContentsOfFile
  • Next by Date: Re: arrayWithContentsOfFile
  • Previous by thread: Re: NSString Class Instance Variables
  • Next by thread: Re: Property List Format vs NSKeyedArchiver Format
  • Index(es):
    • Date
    • Thread