• 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: NSCoding vs NSSecureCoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCoding vs NSSecureCoding


  • Subject: Re: NSCoding vs NSSecureCoding
  • From: Tony Parker <email@hidden>
  • Date: Wed, 18 Jun 2014 10:04:38 -0700

Hi Sean,

> On Jun 18, 2014, at 9:42 AM, Sean McBride <email@hidden> wrote:
>
> On Tue, 17 Jun 2014 08:22:40 -0700, Tony Parker said:
>
>> NSKeyedArchiver and NSKeyedUnarchiver also support secure coding as of 10.9.
>
> Tony,
>
> Thanks for the details.  Are there any issues in creating an archive on 10.9 and then decoding it on 10.8 or older?
>

Nope, this should work fine. The archive itself does not contain anything different. The reason that keyed archiver allows you to set secure coding is simply to perform an additional check when encoding that all classes you’re putting in the archive adopt the NSSecureCoding protocol. So in other words, the secure decoding is an option that can be applied to any keyed archive.

- Tony

> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 email@hidden
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>


_______________________________________________

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: 
 >NSCoding vs NSSecureCoding (From: Sean McBride <email@hidden>)
 >Re: NSCoding vs NSSecureCoding (From: Mike Abdullah <email@hidden>)
 >Re: NSCoding vs NSSecureCoding (From: Sean McBride <email@hidden>)
 >Re: NSCoding vs NSSecureCoding (From: Mike Abdullah <email@hidden>)
 >Re: NSCoding vs NSSecureCoding (From: Tony Parker <email@hidden>)
 >Re: NSCoding vs NSSecureCoding (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: Taking screen shots
  • Next by Date: Re: Cocoa-dev Digest, Vol 11, Issue 339
  • Previous by thread: Re: NSCoding vs NSSecureCoding
  • Next by thread: Re: NSCoding vs NSSecureCoding
  • Index(es):
    • Date
    • Thread