Hi,
I want to serialize and deserialize my objects to/from XML files.
NOTE: My object is not a dictionary, so I am not using the plist.
I have found NSXMLParser for event-driven parsing and I also found
NSXMLDocument for tree-based parsing.
However, I don't see anything to *serialize* my object
On Jul 24, 2008, at 8:20 AM, Oleg Krupnov wrote:
I want to serialize and deserialize my objects to/from XML files.
Have you read this: http://developer.apple.com/documentation/Cocoa/Conceptual/Archiving/index.html
?
Cheers,
Ken
___
Cocoa-dev mai
Wow, how could I overlook this? Thanks for pointing it out!
I have read it now and I believe the guide suggests that i archive my
object tree in a binary byte stream, not an XML. There are no
implementations of NSCoder that would output XML, are there?
BTW is this the same binary format as used i
On Fri, Jul 25, 2008 at 6:06 PM, Oleg Krupnov <[EMAIL PROTECTED]> wrote:
> I have read it now and I believe the guide suggests that i archive my
> object tree in a binary byte stream, not an XML. There are no
> implementations of NSCoder that would output XML, are there?
>
NSKeyedArchiver can, see
On Jul 24, 2008, at 11:16 PM, Phil wrote:
On Fri, Jul 25, 2008 at 6:06 PM, Oleg Krupnov
<[EMAIL PROTECTED]> wrote:
I have read it now and I believe the guide suggests that i archive my
object tree in a binary byte stream, not an XML. There are no
implementations of NSCoder that would output XM