So, I've been writing an app based loosely on this tutorial:
http://developer.apple.com/library/...iPhoneCoreData01/Articles/01_StartingOut.html
My basic problem is, the AppDelegate creates the window and the navigation controller, but the add button for the navigation bar is created in the root view controller. I need the add button to push a view controller with the navigation bar. However, the view controller and the navigation bar are created and stored in the AppDelegate. The view controller I want is a xib I've setup in interface builder, and the delegate has an output link that references it. I tried setting the delegate of my root view controller to be the app delegate, but it doesn't appear to have a delegate member variable.
I feel like I'm missing something core to this language, since the example provided by apple seems to be oxymoronic ( but almost certainly isn't.) Feel free to give a "read up on X noob" response, I realize this is almost certainly some core misunderstanding I have about working in this environment. I'm just not sure where to start looking.
http://developer.apple.com/library/...iPhoneCoreData01/Articles/01_StartingOut.html
My basic problem is, the AppDelegate creates the window and the navigation controller, but the add button for the navigation bar is created in the root view controller. I need the add button to push a view controller with the navigation bar. However, the view controller and the navigation bar are created and stored in the AppDelegate. The view controller I want is a xib I've setup in interface builder, and the delegate has an output link that references it. I tried setting the delegate of my root view controller to be the app delegate, but it doesn't appear to have a delegate member variable.
I feel like I'm missing something core to this language, since the example provided by apple seems to be oxymoronic ( but almost certainly isn't.) Feel free to give a "read up on X noob" response, I realize this is almost certainly some core misunderstanding I have about working in this environment. I'm just not sure where to start looking.