• 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: More Swift issues, NSURLComponents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More Swift issues, NSURLComponents


  • Subject: Re: More Swift issues, NSURLComponents
  • From: Rick Mann <email@hidden>
  • Date: Tue, 06 Oct 2015 13:04:47 -0700

> On Oct 6, 2015, at 11:31 , Greg Parker <email@hidden> wrote:
>
>
>> On Oct 5, 2015, at 7:57 PM, Rick Mann <email@hidden> wrote:
>>
>> Especially when a struct can be an AnyObject.
>
> `AnyObject` is an instance of any class type. It is never a struct. `Any` encompasses both classes and structs.

Thanks for the reminder. So, I wonder why it's behaving as it is in this case, since copy() returns an AnyObject.

--
Rick Mann
email@hidden



_______________________________________________

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: 
 >More Swift issues, NSURLComponents (From: Rick Mann <email@hidden>)
 >Re: More Swift issues, NSURLComponents (From: Jens Alfke <email@hidden>)
 >Re: More Swift issues, NSURLComponents (From: Rick Mann <email@hidden>)
 >Re: More Swift issues, NSURLComponents (From: Charles Srstka <email@hidden>)
 >Re: More Swift issues, NSURLComponents (From: Rick Mann <email@hidden>)
 >Re: More Swift issues, NSURLComponents (From: Jens Alfke <email@hidden>)
 >Re: More Swift issues, NSURLComponents (From: Rick Mann <email@hidden>)
 >Re: More Swift issues, NSURLComponents (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: More Swift issues, NSURLComponents
  • Next by Date: Custom UIView receiving no touch events?
  • Previous by thread: Re: More Swift issues, NSURLComponents
  • Next by thread: Re: More Swift issues, NSURLComponents
  • Index(es):
    • Date
    • Thread