> On Oct 5, 2015, at 6:03 PM, Rick Mann <rm...@latencyzero.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to