I'm doing an exercise to try to truly understand Interface Builder and Outlets.
Using Xcode 4.0 I've chosen the template for Window Based Application. I then:
Go into Interface Builder and add a UINavigation Controller.
Set the Window Outlet RootView Controller to the Navigation Controller.
Go to AppDelegate.h to create a UINavigation Controller called navController and give it an IBOutlet.
Go to AppDelegate.m in the didFinishLaunchingWithOptions to set self.window.rootViewController to self.navController.
Create a new UIViewController called FirstViewController complete with .xib file.
My question is, how do I set the root view controller in the mainWindow.xib outlet as the FirstViewController? But more importantly could someone explain to me the reasoning behind how you do this?
In other words, I would like FirstViewController to be the first view controller the user sees in my app. And I would like to understand exactly the mechanics behind making this happen.
Thanks for all the help!

