Re: Xcode 6beta3, Swift, UITableView and auto complete
Re: Xcode 6beta3, Swift, UITableView and auto complete
- Subject: Re: Xcode 6beta3, Swift, UITableView and auto complete
- From: John Tsombakos <email@hidden>
- Date: Wed, 23 Jul 2014 08:31:45 -0400
On Jul 12, 2014, at 1:09 PM, John Tsombakos < email@hidden> wrote: Let me preface by saying, yes, I know it’s “beta” :)
I’m following the Swift tutorial here:
and in the section about setting up the table view delegate methods, Xcode doesn’t seem to want to offer all of the delegate methods for the UITableView, notably:
func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -> UITableViewCell!
and
func tableView(tableView: UITableView!, numberOfRowsInSection section: Int) -> Int
I start typing ‘func ta …’ (and ignoring the fact that the autocomplete is screwed up by duplicating the ‘func’ keyword, those two methods aren’t in the list.
Well, it looks like Beta 4 of Xcode has fixed this. Now it doesn’t matter the order of the protocol declarations - all of the methods appear in the auto complete list.
There’s still the weird issue of if you start by typing ‘func’, then pick one of the methods, you’ll get a double - func on the line. Yeah, you can just not type ‘func’, but it’s still not right :) |
_______________________________________________
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