Re: Property List Format vs NSKeyedArchiver Format
Re: Property List Format vs NSKeyedArchiver Format
- Subject: Re: Property List Format vs NSKeyedArchiver Format
- From: Jens Alfke <email@hidden>
- Date: Tue, 13 Oct 2009 14:40:11 -0700
On Oct 13, 2009, at 1:08 PM, Bridger Maxwell wrote:
I would like to read more on the NSKeyedArchiver XML format, but
can't find
documentation on it. Is it open?
No. It's undocumented and could change in the future; writing code for
another platform that parses it would probably be a bad idea.
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?
The property list itself contains only strings, dictionaries, etc. But
the information in that property list describes arbitrary objects. For
example, each object might be represented by a dictionary whose keys
are property names and values are integers that reference other
objects in the file.
—Jens_______________________________________________
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