title: How to instantiate a UIViewController subclass from a xib?
body: <p>I have a UIViewController with a UIView in interface builder. I can not for the life of me get it instantiated properly.</p>
  
  <p>I am using:</p>
  
  <p><code>LoginViewController* myViewController = [[LoginViewController alloc] initWithNibName:@"LoginViewController" bundle:nil]
  self.window.rootViewController = myViewController;
  </code></p>
  
  <p>Any help? Thanks in advance.</p>