If I use the Empty template in Xcode, which just gives an app delegate and window, and I want to have a UITableView with navigation bar for drilling up and down, am I correct in assuming I should just do as below, create a UITableView subclass, instantiate it, then instantiate a navController, set the TableView as the navControllers root view and then add the navController as the root view of the Window?
It seems wrong to create a UITableViewController only to add this to another view controller subclass (UINavigationController).
Is this correct?
MyTableViewController *myTableViewController = [[MyTableViewController alloc] initWithNibName:@"MyTableViewController" bundle:nil];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:MyTableViewController];
[self.window setRootViewController:navController];