hi guys
I wanted to do the exact same as Jelloke, and have looked through the o'reilly video which is great, except that the table view does not link to a new view, but rather generates a details view from the table data...
I am sure I am doing something really stupid and would love some help.
when table cell "Case 1" is tapped I want Case01.xib to be called into view.. this is the code I have, but clicking does not work. The cell goes blue when tapped and that is it. no crash but no new view.
Code:
if ([[tableList objectAtIndex:indexPath.row] isEqual:@"Case 1"])
{
Case01 *case01 = [[Case01 alloc] initWithNibName:@"Case01" bundle:nil];
[case01 setTitle:@"Case 1"];
[self presentModalViewController:case01 animated:YES];
}
I suspect the last line is wrong.. but I can't work it out...
Thanks in advance