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
Asked
Active
Viewed 35 times
0

rmaddy
- 314,917
- 42
- 532
- 579

Developingdeveloper
- 19
- 9
1 Answers
0
you have to add this method:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
// your code
// return cell;
}

alex
- 8,904
- 6
- 49
- 75
-
There is no default. You must implement this method of the `UITableViewDataSource` protocol. – rmaddy Nov 16 '14 at 23:04
-
I thought of that, but then I wondered if the order of the methods meant anything (as I said: I`m a newbe). But thanks a lot :D. I`ll just do that. – Developingdeveloper Nov 17 '14 at 21:06