• 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: Jens Alfke <email@hidden>
  • Date: Mon, 05 Oct 2015 18:12:30 -0700

> On Oct 5, 2015, at 6:03 PM, Rick Mann <email@hidden> wrote:
>
> No errors! But url3 is "let." Why is it allowed here?

NSURLComponents is a class, not a struct, so ‘url3’ is a reference, not a value, and ‘let’ just means you can’t reassign ‘url3’ to point to another object.

—Jens
_______________________________________________

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: More Swift issues, NSURLComponents
      • From: Rick Mann <email@hidden>
References: 
 >More Swift issues, NSURLComponents (From: Rick Mann <email@hidden>)

  • Prev by Date: More Swift issues, NSURLComponents
  • Next by Date: Re: More Swift issues, NSURLComponents
  • Previous by thread: More Swift issues, NSURLComponents
  • Next by thread: Re: More Swift issues, NSURLComponents
  • Index(es):
    • Date
    • Thread