//USAGE: performSegueWithIdentifier("EditProfileViewController", sender: nil)
// MARK: - NAVIGATION
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)
{
if segue.identifier! == "EditProfileViewController"
{
let navController = segue.destinationViewController as! NavyController
if let vcEditProfile = navController.viewControllers.first as? EditProfileViewController
{
vcEditProfile.memberEditing = member
}
}
}
// MARK: - Navigation SWIFT 4
override func prepare(for segue: UIStoryboardSegue, sender: Any?)
{
if let id = segue.identifier , id == "CloseReportTableViewController" {
self.vcCloseReportTable = segue.destination as! CloseReportTableViewController
}
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.