• 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: Is NSKeyedArchiver portable / reliable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is NSKeyedArchiver portable / reliable?


  • Subject: Re: Is NSKeyedArchiver portable / reliable?
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 19 Dec 2008 11:15:20 -0700


On Dec 19, 2008, at 9:24 AM, Mike Chambers wrote:

1. Would this work across different machines?

If by "different machines" you mean PPC, Intel, 32-bit, 64-bit, iPhone, iPod, etc. then yes. NSKeyedArchiver is documented as being architecture-independent. There are some subtle differences between architectures in what gets returned when you call @encode for a primitive type, but nothing you can't work around. Also, not all classes available on desktop OS X are available on the iPhone/iPod, but common ones ought to work.


2. Is there a risk that apple would change the serialization format,
thus breaking my app in the future?


No; that would break pretty much every desktop app if they did that.

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

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


References: 
 >Is NSKeyedArchiver portable / reliable? (From: "Mike Chambers" <email@hidden>)

  • Prev by Date: Cocoa Apple Script Problem
  • Next by Date: Re: NSData downloaded over socket is bigger than it should be...
  • Previous by thread: Is NSKeyedArchiver portable / reliable?
  • Next by thread: Cocoa Apple Script Problem
  • Index(es):
    • Date
    • Thread