title: passing data from FirstViewController to FrontViewController of SWRevealViewController
body: <p>sorry for my bad English </p>
  
  <p>i need to pass data from my First View Controller to Front View Controller of SWRevealViewController </p>
  
  <p>in my First View Controller i do this code </p>
  
  <pre><code>- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
  {
      if ([segue.identifier isEqualToString:@"menu"]) {
          SWRevealViewController *sw = (SWRevealViewController *) segue.destinationViewController;
  
          // error is here i get nav with nil
          UINavigationController *nav = (UINavigationController *)sw.frontViewController;
          FrontViewController *home = (FrontViewController *) nav.topViewController;
          home.passed_student = selected_student;
  
  
  
  }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/8mWfb.png" alt="enter image description here"></p>