We'll, the class is defined as:
class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate {
Are you using a UITableViewController, or, as in the article, just a UIViewController that has a UITableView on it? (I haven't tested with the former yet) On Jul 13, 2014, at 2:22 AM, Roland King < email@hidden> wrote: They do for me, as soon as I make the class inherit UITableViewDataSource, they show up. If I make it both datasource and delegate, they both show upl On 13 Jul 2014, at 12:14 pm, John Tsombakos < email@hidden> wrote:
Whoops, my bad. I meant data source methods. Either way, they don't appear in the auto complete suggestions.
On Jul 12, 2014, at 10:17 PM, Roland King < email@hidden> wrote:
On 13 Jul 2014, at 1:09 am, John Tsombakos < email@hidden> wrote:
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
Is it something I’m doing wrong, or do I just chalk it up to “beta, not quite complete”?
Thanks! _______________________________________________
Perhaps because they are UITableViewDataSource methods not UITableViewDelegate ones?
That tutorial seems a little rough.
|