Method missing in tutorial

37 views Asked by At

I'm new in the iOS programming, so I've followed one of Apple's Developer library-tutorials. In the "Implementing an app - Tutorial: Add data" part, the site wants me to change the tableView:cellForRowAtIndexPath method. The thing is, there is no method like that in "XYZToDoListTableViewController.m". Am I doing something wrong, or what? Thanks :D

1

There are 1 answers

2
devops On BEST ANSWER

you have to add this method:

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {

    // your code

    // return cell;
}