I'm relatively new to the whole MVC view of things.
I have an application based on the Utility application template. Everything in MainView and FlipsideView works fine, but now I need to add the TableView and the navigation controller in the opposite direction. No navigation bar on MainView.
Thus, only after the user has pressed the information lighting button, the navigation bar will be displayed on the back with a table view. I was able to embed a table view on the side and populate it with data from an array. Now I am trying to bind a navigation controller so that the table view becomes interactive. When I put the navigation barcode in the delegate of the application, it appears in the main view, and not in the reverse order.
Where do I place the navigation barcode so that it displays in flipsideview mode. I can't seem to get the code in the right place. Also, I'm not sure if I have the correct code, do I put the UINavigationController code in FlipSideViewController.m?
I do not understand the concept of a naive controller, I think.,.
Here is the code to call FlipView
- (IBAction)showInfo
{
TableViewController *controller = [[TableViewController alloc] initWithNibName:@"TableViewController" bundle:nil];
controller.delegate = self;
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:controller animated:YES];
[controller release];
}
TableViewController
.