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

Re: NSKeyedArchiever and XML Format


  • Subject: Re: NSKeyedArchiever and XML Format
  • From: Martin Wierschin <email@hidden>
  • Date: Thu, 11 Dec 2008 17:34:13 -0800

[a encodeObject:p forKey:@"root"];

Does using: [a encodeRootObject:p];

instead of the line above make it work as expected?

A good idea, but IIRC that did not work. In fact, I think it produced an archive that silently failed to be read back by the stock + [NSKeyedUnarchiver unarchiveObjectWithFile:] convenience method.


~Martin

_______________________________________________

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: NSKeyedArchiever and XML Format
      • From: Nathan Vander Wilt <email@hidden>
References: 
 >NSKeyedArchiever and XML Format (From: Patrick Mau <email@hidden>)
 >Re: NSKeyedArchiever and XML Format (From: Nathan Vander Wilt <email@hidden>)

  • Prev by Date: Re: NSKeyedArchiever and XML Format
  • Next by Date: Re: NSKeyedArchiever and XML Format
  • Previous by thread: Re: NSKeyedArchiever and XML Format
  • Next by thread: Re: NSKeyedArchiever and XML Format
  • Index(es):
    • Date
    • Thread