Last active
April 4, 2017 18:19
-
-
Save aataraxiaa/252ca4b7141aec353279e08b2345c2bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | |
if segue.identifier == "Segue1" { | |
if let viewController1 = segue.destination as? ViewController1 { | |
self.viewController1 = viewController1 | |
} | |
} else if segue.identifier == "Segue12" { | |
if let viewController2 = segue.destination as? ViewController2 { | |
self.viewController2 = viewController2 | |
} | |
} else if segue.identifier == "Segue3" { | |
if let viewController3 = segue.destination as? ViewController3 { | |
self.viewController3 = viewController3 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment