I have this code:
tableList = [[NSMutableArray alloc] initWithObjects:@"First View",@"Second View",nil];
I have synthesized it and set the property, the problem is when I add this line under the configure the cell comment to set the text of each row, the app opens in the simulator but instantly closes:
// Configure the cell.
cell.textLabel.text = [tableList objectAtIndex:indexPath.row];
return cell;
Any ideas on what is causing this ?