title: Present View Controller in Storyboard with a Navigation Controller - Swift
body: <p>I am currently showing a viewController in my new storyboard below:</p>
  
  <pre><code>var storyboard : UIStoryboard = UIStoryboard(name: AccountStoryboard, bundle: nil)
  var vc : WelcomeViewController = storyboard.instantiateViewControllerWithIdentifier("WelcomeID") as WelcomeViewController
  vc.teststring = "hello"        
  self.presentViewController(vc, animated: true, completion: nil)
  </code></pre>
  
  <p>However, this presents the viewcontroller without its embedded navigation controller.
  I tried changing "WelcomeID" to the navigation controller within the storyboard - however to no success. </p>
  
  <p>I got this working in Objective -C, however don't know how to transform into swift:</p>
  
  <pre><code>UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"SetupStoryboard" bundle:nil];
  UINavigationController *navigationController1 = [storyboard instantiateInitialViewController];
  navigationController1.modalPresentationStyle = UIModalPresentationFormSheet;
  navigationController1.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
  
  WelcomeViewController *vc = (WelcomeViewController *)navigationController1.viewControllers[0];
  vc.teststring = @"Hello";
  
  [self presentViewController:navigationController1 animated:YES completion:nil];
  </code></pre>
  
  <p>How can you do this in swift?</p>