Last active
April 4, 2017 18:18
-
-
Save aataraxiaa/8d630e6621746af01bf46390a1dd3589 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?) { | |
switch segue.destination { | |
case let viewController1 as ViewController1: | |
self.viewController1 = viewController1 | |
case let viewController2 as ViewController2: | |
self.viewController2 = viewController2 | |
case let viewController3 as ViewController3: | |
self.viewController3 = viewController3 | |
default: | |
break | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment