title: From ViewController navigate back to SWRevealViewController Front Page
body: <p><a href="https://i.stack.imgur.com/xtvZJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xtvZJ.png" alt="Navigation from view controller back to SWReveal Front Page"></a></p>
  
  <p>As you can see in the picture, there're 3 controllers at the bottom which are (HomeTableViewController, NavigationViewController and NewsViewController)</p>
  
  <p>HomeTableViewController is the Main Page which I'm using the SWRevealViewController and set it as a front page. (sw_front)</p>
  
  <p>After I've selected a row in HomeTableViewController, it can navigate to NewsTableViewController. However, I've added a back button in the NewsViewController to navigate back to the previous page which is HomeTableViewController, I'm not manage to do that with this code.</p>
  
  <p>In the HomeTableViewController navigate to NewsViewController by selected a row</p>
  
  <pre><code>@IBAction func btnBack(sender: AnyObject)
  {
      let home = HomeTableViewController()
      self.presentViewController(home, animated: true, completion: nil)
  }
  </code></pre>
  
  <p>In the NewsViewController press back button back to previous page</p>
  
  <pre><code>@IBAction func btnBack(sender: AnyObject)
  {
      let home = HomeTableViewController()
      self.presentViewController(home, animated: true, completion: nil)
  }
  </code></pre>
  
  <p>If I pressed the back button in the NewsViewController, this error appeared.</p>
  
  <blockquote>
    <p>fatal error: unexpectedly found nil while unwrapping an Optional value</p>
  </blockquote>
  
  <pre><code>self.revealViewController().rearViewRevealWidth = 200
  </code></pre>
  
  <p>This code has an error and is located in the HomeTableViewController.
  I hope that someone could help me on this. Thank you.</p>