title: instantiateViewControllerWithIdentifier crashes app
body: <p>I am trying to instantiate a ViewController defined in MainStoryBoard.storyboard using the code snippet shown in the pic below. I also assigned an identifier to the controller but app crashed with the error shown in pic saying "Storyboard doesn't contain a controller with identifier masterViewController" although you can clearly see in pic that its there.
  Any help will be appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/qs9EN.png" alt="Error Screen">
  Just so you know, following solution didn't work for me: <a href="https://stackoverflow.com/questions/9367715/crash-with-instantiateviewcontrollerwithidentifier">Crash with instantiateViewControllerWithIdentifier</a></p>
  
  <p>Below is the snapshot that confirms that the storyboard object is same that is retrieved from viewcontroller and used to instantiateViewControllerWithIdentifer:. <img src="https://i.stack.imgur.com/bYfvR.png" alt="Storyboard obj same">
  <strong>SITUATION DESCRIPTION</strong>: I am trying to develop a custom SplitViewController (subclassed from UIViewController). This UIViewController is purely programmatic i.e. not based on IBInterface layout. However for its children i.e MasterViewController and DetailViewController I have made layouts in IBInterface. Now I am retrieving a UIStoryboard object in SplitViewController (purely programatic one) and passing it to a utility class shown here in the first pic that uses it to instantiate MasterViewController based on a layout in the Storyboard.</p>