• 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: Mike Abdullah <email@hidden>
  • Date: Tue, 17 Jun 2014 16:00:47 +0100

On 17 Jun 2014, at 15:50, Sean McBride <email@hidden> wrote:

> On Tue, 17 Jun 2014 09:17:46 +0100, Mike Abdullah said:
>
>> I suspect the rationale might be “NSColor and NSImage live in AppKit,
>> not Foundation, and the AppKit engineers aren’t so bothered about secure
>> coding"
>
> That's a good theory.  So I just looked through Foundation and found numerous other clases that only conform to NSCoding and not NSSecureCoding like NSAffineTransform, NSAttributedString, NSCharacterSet, etc.
>
> I guess I should conclude that NSSecureCoding is not a general replacement for NSCoding and only really meant for XPC, and that Apple hasn't found much use for sending those kinds of objects between processes.

Ah, it was a nice theory, but no more than a theory then. Oh well! I think your analysis about it coming down to XPC is probably nearer the mark.


_______________________________________________

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


  • Follow-Ups:
    • Re: NSCoding vs NSSecureCoding
      • From: Tony Parker <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>)

  • Prev by Date: Re: NSCoding vs NSSecureCoding
  • Next by Date: Re: NSCoding vs NSSecureCoding
  • Previous by thread: Re: NSCoding vs NSSecureCoding
  • Next by thread: Re: NSCoding vs NSSecureCoding
  • Index(es):
    • Date
    • Thread