title: SWRevealViewController - manually switch to another view?
body: <p>I have a sidebar menu, made with SWRevealViewController. </p>
  
  <p>One of menu elements in sidebar is "sign-in". It opens sign-in view (via custom SWRevealViewController segue).</p>
  
  <p>I want to programmatically switch to another view after user successfully signs in. How do I do that?</p>
  
  <p><strong>UPDATE</strong>, my code:</p>
  
  <pre><code>ViewController *vc = [[ViewController alloc] init]; // this is main front ViewController
  SWRevealViewController *revealController = self.revealViewController;
  [revealController setFrontViewController:vc animated:YES];
  </code></pre>
  
  <p>After this I get just empty screen. What am I doing wrong? I feel that this is wrong: </p>
  
  <pre><code>ViewController *vc = [[ViewController alloc] init];
  </code></pre>
  
  <p>so what is correct way to access already loaded view controller? (it loads at app start by SWRevealViewController as front controller)</p>