Re: Is NSKeyedArchiver portable / reliable?
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