iPhone: unable to start simple application
<p>I'm trying to make an iPhone app here, and I've gotten it down to a simple HelloWorld problem.  For some reason, the following does not work in XCode 4.4.  I'd really appreciate figuring out what's going on.</p>

<p>I follow these steps:</p>

<ol>
<li>Start an 'empty project' type</li>
<li>Name it</li>
<li>Add in a new objective-c class with a .xib.  Say this new view controller is StartViewController, so I now have StartViewController .xib, .h, and .m.</li>
<li>Check: file's owner for the .xib matches the .h file.  It does in IB.</li>
<li>Change the background of the .xib to something other than black (I like stripes).</li>
<li>Add these lines to the main app delegate:</li>
</ol>

<h1>import "StartViewController.h"</h1>

<pre><code> - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
 {
   self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
   StartViewController* theController = [[StartViewController alloc]init];
   [self.window addSubview:theController.view];
   [self.window makeKeyAndVisible];
   return YES;
 }
</code></pre>

<p>And the app immediately crashes on running with:</p>

<p><em>*</em> Terminating app due to uncaught exception '<code>NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:]</code> loaded the "StartView" nib but the view outlet was not set.'</p>

<p>How can I make it work?</p>

<p><strong>EDIT</strong>: PS, I have no idea why the code formatting appears to have failed.  I was under the impression that it was just four spaces at the beginning of a line...</p>
