In my app I want to catch reactions from my UITableView but I do not why it doesn't work:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
NSLog(@"touched!");
}
I defined the delegate
@interface TableViewController : UIViewController <UITableViewDelegate>
I ticked the "user interaction enable" from the nib file showed the delegate to the files owner.
I also write tableView.delegate = self;
to the viewDidLoad. What am I missing?