hello I want to pass value to my second Controller.The second Controller is connected to NavigationController and the storyboard Id has been set in NavigationController, not in SecondViewController
I show ViewControllers like this
var _profile : UINavigationController{
get{
return self.storyboard?.instantiateViewControllerWithIdentifier("ShowUserProfileTableViewController") as! UINavigationController
}
}
case 0:
if (self.revealViewController().frontViewController.isKindOfClass(UINavigationController)){
let nav : UINavigationController = self.revealViewController().frontViewController as! UINavigationController
if (!nav.viewControllers[0].isKindOfClass(ShowUserProfileTableViewController)){
self.revealViewController().setFrontViewController(self._profile, animated: true)
}
}
else{
self.revealViewController().setFrontViewController(self._profile, animated: true)
}
break