title: UINavigationController NIB requires File's Owner to have a view?
body: <p>I'm having a problem setting a View Controller nib's default View Outlet in Interface Builder. Here's my setup:</p>
  
  <p>I have a TabBar based application where I load a Navigation Controller as a modal view...</p>
  
  <pre><code>MyNavCtrlrSubClass *menu = [[MyNavCtrlrSubClass alloc]initWithNibName:@"MenuController" bundle:nil];
  [tabBarController presentModalViewController:menu animated:anim];
  </code></pre>
  
  <p>MenuController itself is structured as follows:</p>
  
  <pre>
  MenuController.xib
    File's Owner (MyNavCtrlrSubClass : UIViewController)
    Navigation Controller (UINavigationController)
      Navigation Bar (UINavigationBar)
      Root View Controller (Nib Name is set to load AnotherViewController.nib)
        Navigation Item -> (UINavigationItem)
  </pre>
  
  <p>This all works fine, except that when MyNavCtrlrSubClass is loaded, I get the following error:</p>
  
  <blockquote>
    <p><code>Loaded the "MenuController" nib but the view outlet was not set</code></p>
  </blockquote>
  
  <p>It's clear why this is happening - File's Owner doesn't have an outlet connection for its view. <strong>The question is what should I set as its view, and does something have to be set in the first place?</strong> The Navigation Bar is the only candidate in MenuController.xib, but doing this will just size the UINavigationBar itself to the fullscreen mode, so to speak.</p>
  
  <p>I'm obviously missing something in IB, but what? MyNavCtrlrSubClass.m has no code itself, except an IBOutlet for the UINavigationController. Am I making a mistake trying to set this up entirely in IB? The idea is to keep the modal Navigation Controller in one nib, and all the views it loads in separate nibs, but since MenuController is just a container for the navigation and contains no views itself, I'm obviously designing it wrong. :)</p>
  
  <p>If you're wondering why I'm not designing it some other way, it's because I'm trying to obey my (possibly mistaken) perception of how IB asks you to build an ideal hierarchy. </p>
  
  <p>Any help would be greatly appreciated. </p>