
Storyboardで作成したNavigationControllerとViewControllerを呼び出す方法です
Storyboardで設定したSotryboard IDを指定すれば、プログラムから動的に呼び出せます

UINavigationControllerを表示する
let nc = self.storyboard!.instantiateViewControllerWithIdentifier("NavigationController") as! UINavigationController
self.presentViewController(nc, animated: true, completion: nil)
NavigationControllerを表示する
let vc = self.storyboard!.instantiateViewControllerWithIdentifier("ViewController") as! UIViewController
self.presentViewController(vc, animated: true, completion: nil)
UINavigationControllerからViewControllerを取得したい場合
let nc = self.storyboard!.instantiateViewControllerWithIdentifier("NavigationController") as! UINavigationController
var vc = nc.viewControllers[0] as! UIViewController


