title: Navigating to another view controller without a navigation controller
body: <p>As you guess am still a newbie, getting my head around iphone development.
  I am just trying out basic view loading on demand, which i cant get to work</p>
  
  <p>I have an app, with 2 view controllers, each view controller connected a different nib file.
  I am trying to switch between view manually; there is no navigation control involved.</p>
  
  <p>How can i manually push the second view to the first view?
  <code>self.navigationController pushViewController</code> wont work since there is no navigation controller.
  How else can I push the second view on top of the first view and destroy the first view; and ofcourse vice versa?
  I have done this in the first view's button action:</p>
  
  <pre><code>SecondView *sv=[[SecondView alloc] initWithNibName:@"SecondView" bundle:nil];
  [self.navigationController pushViewController:sv animated:YES];
  </code></pre>
  
  <p>obviously, it didn't work.</p>
  
  <p><code>window addSubView</code> didn't work either, because the first view controller is the root view controller (not sure i said that right). In other words, when i run the app, the first view is what I see with a button that is supposed to load the second view.</p>
  
  <p>I have spent hours searching for a simple example, and I couldn't find any.</p>
  
  <p>Any suggestions?</p>