Re: Swift Autocomplete and closures
Re: Swift Autocomplete and closures
- Subject: Re: Swift Autocomplete and closures
- From: John Tsombakos <email@hidden>
- Date: Thu, 05 Mar 2015 12:34:37 -0500
I did try without the parens and got the same result and have already filed a bug
Thanks!
Sent from my iPhone On Mar 5, 2015, at 12:27 PM, Quincey Morris < email@hidden> wrote: On Mar 5, 2015, at 04:24 , John Tsombakos < email@hidden> wrote:
let task = session.dataTaskWithRequest(request, completionHandler: { (myData, myResponse, myError) -> Void in
According to the Swift book, you don’t need parentheses around the closure parameters if they’re all using type inference, as yours are. I suggest you remove the parentheses and submit a bug report.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden