Re: Simple Swift question
Re: Simple Swift question
- Subject: Re: Simple Swift question
- From: Rick Mann <email@hidden>
- Date: Mon, 29 Jun 2015 16:31:33 -0700
> On Jun 29, 2015, at 16:30 , Jens Alfke <email@hidden> wrote:
>
>
>> On Jun 29, 2015, at 4:23 PM, Rick Mann <email@hidden> wrote:
>>
>> http://pastebin.com/Q7sBWBnN
>>
>> url is unwrapped already, and I'm (wrongly) trying to unwrap the NSURLRequest. But it's not complaining about the arguments to NSURLRequest.init(URL:).
>
> The error I get with Xcode 7 beta 2 is
>
> error: operand of postfix '?' should have optional type; type is 'NSURLRequest'
> if let req = NSURLRequest(URL: url)?
> ~~~~~~~~~~~~~~~~~~~~~~^
>
> So it looks like this has been fixed already.
Ah! Let me go download that. Thanks!
--
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