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

Re: Pasteboards and NSSecureCoding


  • Subject: Re: Pasteboards and NSSecureCoding
  • From: Jeremy Hughes <email@hidden>
  • Date: Wed, 20 Dec 2017 02:32:41 +0000

> On 20 Dec 2017, at 02:22, Jeremy Hughes <email@hidden> wrote:
>
> What I don’t like about [NSArray.self] is that it’s an artefact of bridging.
> I’m not actually using it in the encoder:
>
> coder.encode(arrayOfInts, forKey: kArrayKey)

The declaration:

encode(_ object: Any?, forKey key: String)

seems to indicate that it encodes any object

But maybe it’s safe to assume that NSCoder will always encode/decode arrays as
NSArrays, until it gets replaced with a Swift “Coder” class.

Jeremy

_______________________________________________

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: Pasteboards and NSSecureCoding
      • From: Quincey Morris <email@hidden>
References: 
 >Pasteboards and NSSecureCoding (From: Jeremy Hughes <email@hidden>)
 >Re: Pasteboards and NSSecureCoding (From: Quincey Morris <email@hidden>)
 >Re: Pasteboards and NSSecureCoding (From: Jeremy Hughes <email@hidden>)
 >Re: Pasteboards and NSSecureCoding (From: Quincey Morris <email@hidden>)
 >Re: Pasteboards and NSSecureCoding (From: Jeremy Hughes <email@hidden>)

  • Prev by Date: Re: Pasteboards and NSSecureCoding
  • Next by Date: Re: 10.13 printing problem
  • Previous by thread: Re: Pasteboards and NSSecureCoding
  • Next by thread: Re: Pasteboards and NSSecureCoding
  • Index(es):
    • Date
    • Thread