• 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: Xcode 6beta3, Swift, UITableView and auto complete
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:

 http://jamesonquave.com/blog/developing-ios-apps-using-swift-tutorial-part-2/

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

References: 
 >Xcode 6beta3, Swift, UITableView and auto complete (From: John Tsombakos <email@hidden>)

  • Prev by Date: Re: How to select libraries in Xcode 6
  • Next by Date: Re: How to detect endian-ness in Swift?
  • Previous by thread: Re: Xcode 6beta3, Swift, UITableView and auto complete
  • Next by thread: Schemes not being preserved
  • Index(es):
    • Date
    • Thread