• 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: Swift Autocomplete and closures
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swift Autocomplete and closures


  • Subject: Re: Swift Autocomplete and closures
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 05 Mar 2015 17:27:35 +0000

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

  • Follow-Ups:
    • Re: Swift Autocomplete and closures
      • From: John Tsombakos <email@hidden>
References: 
 >Swift Autocomplete and closures (From: John Tsombakos <email@hidden>)

  • Prev by Date: Are there any good docs for workspace file format?
  • Next by Date: Re: Swift Autocomplete and closures
  • Previous by thread: Swift Autocomplete and closures
  • Next by thread: Re: Swift Autocomplete and closures
  • Index(es):
    • Date
    • Thread