NSUnarchiver and NSKeyedUnarchiver problem
NSUnarchiver and NSKeyedUnarchiver problem
- Subject: NSUnarchiver and NSKeyedUnarchiver problem
- From: Jérôme Duquennoy <email@hidden>
- Date: Wed, 6 Aug 2003 11:50:31 +0200
Hello
I am working on an update to a soft that saved its datas using
NSArchiver.
In the new version of the soft, I add a variable to a class. It will
work well in the new version, but the old version will crash instantly
as i try to read the archive.
I would also like to pass to an NSKeyArchiver, to ease backward
compatibility in the future.
How can I detect if the archive was created using an NSArchiver or an
NSKeyeArchiver ?
If I chose the wrong coder, it instantly crashes ...
Is there a way to avoid the crash, and to get a status, so that I can
handle the problem ?
Thank you
Jerome Duquennoy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.