title: XCode 4.6.3 - Adding and loading another screen in Single View project
body: <p>I am new to iOS development. I created a single view type iOS project in xcode 4.6.3 and I have the following header, implementation and xib files already added:-</p>
  
  <p>myViewController.h ; myViewController.m ; myViewController.xib</p>
  
  <p>The app runs fine and myViewController.xib loads alright. It contains a button (with a click handler in .m file already linked and executing) but I want to write some code in the click handler that could load another screen.</p>
  
  <p>My app has only two screens. One was already set up while project creation but I have seen more than one ways to add another separate screen in tutorials. I am not sure if they apply to single view type project. My question is:-</p>
  
  <ol>
  <li><p>Do I just create a new secondView.xib file and my click event in myViewController.m will load the secondView.xib in the window thorough some code? Please let me know the code if so.</p></li>
  <li><p>Or should I go to File->New->Cocoa Touch and follow the whole wizard that adds new .h, .m and .xib file to the project. I have done this already but again, I don't know the code to put in my button click handler method which could dismiss the first screen and take the user to second screen.</p></li>
  </ol>
  
  <p>I think I shouldn't use NavigationController since my app doesn't have any navigation header stuff. Hope I have asked the question rightly. </p>
  
  <p>Many thanks</p>