title: Set up View Controllers in App Delegate Xcode 5
body: <p>I wanted to know how to set up the app delegate in Xcode 5 since it's different than it was in previous versions. I want the generic view controller files (ViewController.h and .m) to be the files that control the rootViewController I set in my app delegate. Does this happen automatically or do you need to do something in the code? This is how I set up my appDelegate.m</p>
  
  <pre><code>    *(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary   *)launchOptions
  {
      CGRect viewRect = [[UIScreen mainScreen]bounds];
      self.window = [[UIWindow alloc]initWithFrame:viewRect];
      UIViewController  *viewController = [[UIViewController alloc]init];
      self.window.rootViewController = viewController;
      [self.window makeKeyAndVisible];
  </code></pre>
  
  <p>If I wanted my rootView Controller to be a table view controller or something else, would I need to embed it in a basic VC first? </p>