Re: Secure coding NSArray
Re: Secure coding NSArray
- Subject: Re: Secure coding NSArray
- From: Quincey Morris <email@hidden>
- Date: Mon, 15 Feb 2016 09:52:10 -0800
- Feedback-id: 167118m:167118agrif8a:167118sG1s7SpOqu:SMTPCORP
On Feb 15, 2016, at 09:44 , Quincey Morris <email@hidden> wrote:
>
>> [archiver encodeObject: model forKey: @"model"];
Oh, in the test project that I pasted this code from, I used “model” as my root object key. In the real project, I’m using NSKeyedArchiveRootObjectKey, which seems like a better choice, since it should be backwards compatible with non-secure archiving that uses the convenience methods where you don’t specify a root object key explicitly.
_______________________________________________
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