How to set up Navigation Controller -> Root View in code (iPhone SDK)
<p>I need the ability to bypass the default RootViewController you get when you pick a navigation controller project type in XCode.  I need this because I want to go down a different path depending on whether the app has been configured (sign up/login screens if not).  Could someone point me to an example where in the AppDelegate the NavigationController is hooked to another controller (in this case SignupController) via code?</p>

<p>Here is what I have, but it doesn't let me change the title.  And in the MainWindow.xib, it's still tied into the default RootViewController.  </p>

<pre><code>(void)applicationDidFinishLaunching:(UIApplication *)application {    
    [[UIApplication sharedApplication] 
    // if no config, load up the SignupController

    SignupController* signupController = [[SignupController alloc] initWithNibName:@"SignupController" bundle:nil];
    [window addSubview:[navigationController view]];
    [window makeKeyAndVisible];
</code></pre>
