• 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: NSArchiver Deprecation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArchiver Deprecation


  • Subject: Re: NSArchiver Deprecation
  • From: Graham Cox <email@hidden>
  • Date: Sat, 19 Dec 2009 00:40:25 +1100

On 19/12/2009, at 12:30 AM, Richard Somers wrote:

> How safe is it to use NSArchiver in a project?


I'd say it's safe, because it will be needed for older file formats that can only be read by dearchiving using NSUnarchiver. It's not deprecated, it's just hat newer code is better off using NSKeyedArchiver.

From the introductory para of the class ref:

"In Mac OS X v10.2 and later, NSArchiver and NSUnarchiver have been replaced by NSKeyedArchiver and NSKeyedUnarchiver respectively— see Archives and Serializations Programming Guide for Cocoa."

--Graham


_______________________________________________

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: 
 >NSArchiver Deprecation (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: Subview and window size
  • Next by Date: Re: NSArchiver Deprecation
  • Previous by thread: Re: NSArchiver Deprecation
  • Next by thread: Re: NSArchiver Deprecation
  • Index(es):
    • Date
    • Thread