title: Using a View Controller for a subView
body: <p>Background:</p>
  
  <p>I have an application that has a tab bar as part of its interface, however I am not using a tab bar controller... I did this on purpose for many reasons so please don't answer me with rewrite the app as a tab bar controller, because that's not going to help.</p>
  
  <p>The view controller controls the screen and tabs etc quite well, but now I want to add a completely different view to the application.  Now, yes, I could jsut put the view in the existing .XIB and then put all its controlls in the existing view controller class, but it already has a lot going on, so I would like to tie this view to its own view controller and launch, effectively on a button press.</p>
  
  <p>Now, in a tab bar controller model, add a new view controller tied to a tab no issue, but since I am not using a tab bar controller, I am a bit lost.  I know this is basic, and I'm just not seeing it, but in the XIB there is no way to add a viewcontroller to the tabbar or tabbar item, sicne its not a tabbarcontroller IB doesn't seem to allow this.  I could easily add the view to IB, but then I don't have the controller tied to it and would need all the control code for that view to be part of the main controller as well, which I can do but would prefer to segregate, since this view is completely different from all other functions related to other user interactions and views.</p>
  
  <p>So, what is the best way to accomplish this? Instantiate a the ViewController on the tab bar press, and add its view as a subview to the main window? I assume this will work but this seems a bit kludgy.. Is there some other way to show a view and tie it to a veiw controller?  </p>