numberOfRowsInSection is how the table knows how many rows it needs to draw,
cellForRowAtIndexPath is how the table knows which UITableViewCell to draw for each row.
Maybe numberOfRowsInSection is not called because the table knows that nothing has changed. For example, whenever you call [tableView reloadData];, I assume that all of those methods get re-called in order to redisplay all the data, because some changes may have been made.
|