title: Xcode 5 - iOS - How to Create a View Controller in Xcode without Storyboard or XIB and how to configure it into AppDelegate as the root view
body: <p>Right I had taken a break from iOS dev and I have come back into the mix and am having issues with the following:</p>
  
  <p>I want to create a View Controller with an embedded UIWebView programatically without any xib or storyboard dependancy but I can't remember for love nor money how to get the AppDelegate to show my View Controller.</p>
  
  <p>Under all the documentation All I can find is placing the below under my AppDelegate</p>
  
  <pre><code>self.window = [[ViewController alloc] initWithNibName:@"blah" bundle: nil];
  </code></pre>
  
  <p>But As I don't have any xib's associated to my ViewController files this would be useless.</p>
  
  <p>Could someone please set me back on the right path.</p>
  
  <p>Thanks</p>