title: How to set root view controller
body: <p>I set up an empty app with only an app delegate class, then subclassed a view controller class to create a xib to layout the app and make connections. </p>
  
  <p>But when I tried to run the app on iOS Simulator, I got an error which read: CoinToss[6212:f803] Applications are expected to have a root view controller at the end of application launch
  Terminating in response to SpringBoard's termination.
  Program ended with exit code: 0</p>
  
  <p>What do I need to do in order to create a root view controller for the app?</p>
  
  <p>Thank you.</p>