Re: Swift Autocomplete and closures
Re: Swift Autocomplete and closures
- Subject: Re: Swift Autocomplete and closures
- From: LCS <email@hidden>
- Date: Tue, 10 Mar 2015 12:38:43 -0700
Hello…
Sorry, I came in to the middle of the conversation and thought you had a different problem (that the compiler was flagging the parameters of the closure, rather than they weren’t being provided as autocomplete possibilities).
I can confirm that I see the same problem (the parameters of your closure not being offered as autocomplete options), running Xcode beta 6.3 (6D532l).
Louis
On Mar 10, 2015, at 4:09 AM, John Tsombakos < email@hidden> wrote:
Not surprisingly, Xcode is able to autocomplete the parameters to the separate function.
Here’s my whole routine:
override func viewDidLoad() { […]
Paste this into a new project, and click after the “in” and see if Xcode recognizes “data”, “response”, or “error” when you start typing. Oddly, after you enter the keyword, you can option-click to have Xcode show you the correct type, and typing a “.” will give you the autocomplete popup.
Thanks.
|
_______________________________________________
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