• 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
NSUnarchiver and NSKeyedUnarchiver problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: getting dragged file's name
  • Next by Date: Highlighting a momentary change button
  • Previous by thread: NSMatrix and varying column sizes
  • Next by thread: Highlighting a momentary change button
  • Index(es):
    • Date
    • Thread