Hi, I've a problem with indexPath.row, when I try to access this variable my app crashes and I get no errors on the console :(
the code is this:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
// Navigation logic may go here. Create and push another view controller.
NSLog(@"%@", indexPath); //works fine
NSLog(@"%@", indexPath.row); //crash
}
and I'm using it inside a ModalViewController.