• 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: Simple Swift question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Simple Swift question (From: Rick Mann <email@hidden>)
 >Re: Simple Swift question (From: Greg Parker <email@hidden>)
 >Re: Simple Swift question (From: Rick Mann <email@hidden>)
 >Re: Simple Swift question (From: Jens Alfke <email@hidden>)
 >Re: Simple Swift question (From: Rick Mann <email@hidden>)
 >Re: Simple Swift question (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Simple Swift question
  • Next by Date: Re: Simple Swift question
  • Previous by thread: Re: Simple Swift question
  • Next by thread: Re: Simple Swift question
  • Index(es):
    • Date
    • Thread