• 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: XML serialization and deserialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: XML serialization and deserialization
      • From: Phil <email@hidden>
References: 
 >XML serialization and deserialization (From: "Oleg Krupnov" <email@hidden>)
 >Re: XML serialization and deserialization (From: Ken Thomases <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: XML serialization and deserialization
  • Previous by thread: Re: XML serialization and deserialization
  • Next by thread: Re: XML serialization and deserialization
  • Index(es):
    • Date
    • Thread