• 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: Replace -[NSKeyedUnarchiver unarchiveObjectWithData:] so it doesn't crash on corrupt archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replace -[NSKeyedUnarchiver unarchiveObjectWithData:] so it doesn't crash on corrupt archive


  • Subject: Re: Replace -[NSKeyedUnarchiver unarchiveObjectWithData:] so it doesn't crash on corrupt archive
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 3 Jul 2009 08:20:51 -0700


On 2009 Jul 03, at 05:50, Michael Ash wrote:

It is entirely possible that Apple's code relies
on this method throwing an exception on error.

Ah, you're correct. So I've changed it to be a regular category method, +unarchiveObjectSafelyWithData:, instead of replacing the method.


_______________________________________________

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: 
 >Replace -[NSKeyedUnarchiver unarchiveObjectWithData:] so it doesn't crash on corrupt archive (From: Jerry Krinock <email@hidden>)
 >Re: Replace -[NSKeyedUnarchiver unarchiveObjectWithData:] so it doesn't crash on corrupt archive (From: Michael Ash <email@hidden>)
 >Re: Replace -[NSKeyedUnarchiver unarchiveObjectWithData:] so it doesn't crash on corrupt archive (From: Jerry Krinock <email@hidden>)
 >Re: Replace -[NSKeyedUnarchiver unarchiveObjectWithData:] so it doesn't crash on corrupt archive (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: Private copy not working correctly
  • Next by Date: Re: Determining OS at Runtime
  • Previous by thread: Re: Replace -[NSKeyedUnarchiver unarchiveObjectWithData:] so it doesn't crash on corrupt archive
  • Next by thread: Re: Replace -[NSKeyedUnarchiver unarchiveObjectWithData:] so it doesn't crash on corrupt archive
  • Index(es):
    • Date
    • Thread