Re: XML serialization and deserialization
Re: XML serialization and deserialization
- Subject: Re: XML serialization and deserialization
- From: "Oleg Krupnov" <email@hidden>
- Date: Fri, 25 Jul 2008 09:06:26 +0300
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 in NIB files?
While it may be OK to archive documents in binary format on disk, it
may be desired to pass some data over the web in form of XML. Also,
XML is often used as a portable format between applications
(import/export). How do you work around this? Implement your own XML
NSCoder?
On Thu, Jul 24, 2008 at 9:43 PM, Ken Thomases <email@hidden> wrote:
> 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 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