I am relatively new to iPhone programming and am having difficulty as to where/how to push a selected row's drill-down view from a grouped table view. My top-level table view shows OK. I am putting the code for didSelectRowAtIndexPath in RootViewController.m and am telling it to push a new view onto the stack when a row is selected. However, I cannot get it compiled as it says it does not know of the existence of the new view ("Carbon") and warns that UINavigationController may not respond to pushViewController:animated. I am going round in circles and need some help with the basics of where does this code go - and the correct syntax of the push method. Any help appreciated. Thanks, Maxwell
(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { Carbon *carbon = [[[carbonDetails alloc] initWithNibName:@"Carbon" bundle:nil] autorelease];
[self.navigationController PushViewController:carbon animated:YES];
}