I’m new to iPhone development.
I try to operate the tableview.
So I saw some sample codes and books.
But I don’t understand what is the meaning of indexPath.
Here is a line of code.
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath ;
Please explain for me he indexPath parameter.
A table has sections and rows, to know where a row is you need to know the index of which section it is in and the index position it is at within that section.
UIKitadds a category to make it easier to work withUITableView‘s.