I'm lucky to have stumbled across this thread a couple of days ago, and would like to than everyone for the information presented. I'm new to programming for the Mac/iPhone and have run into the following problem.
MainWindow.xib
I setup everything using IB (by following the video posted in this thread). My First Tab is set to a Navigation Controller (by clicking the status bar in IB). The view within the Navigation Controller is loaded from FirstView.xib.
FirstView.xib
In IB the File's Owner is FirstViewController (the view controller). I have a proxy object containing the App Delegate, a Table View displaying data, and a view controller for the detail (loaded from another xib file called Detail.xib after the selection is made). I've implemented the required methods to allow selection, and the table view is responding to click events.
When a row is clicked, I call the App Delegate and pass the text of the cell that was clicked. In the App Delegate I try to push the next view (detailController), but it doesn't load. The message is getting sent to the App Delegate but when I call pushViewController nothing happens. I don't get any compilation errors and as I click the cells they are highlighted.
[navController pushViewController:detailController animated:YES];
I tried adding a Navigation Controller to FirstView.xib, deleting the proxy object used for the App Delegate and handling the pushing of the view in FirstView.xib's file owner but I get the same results.
I guess my question is.. after following the video posted here
http://www.iphonedevsdk.com/forum/ip...html#post15844
how do I get the navigation portion to work?
Design wise; Should the app delegate be used to handle the pushing of views for each tab? Or would it be better handled by the file's owner of each xib loaded for each tab?
Any help would be appreciated. This is all very new to me. Thank you,