Skip to content

Instantly share code, notes, and snippets.


Created May 18, 2017
What would you like to do?
the description for this gist
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
switch segue.identifier! {
case "segue_1":
let vc = segue.destination as! MyViewController
vc.setupWith(data: data)
case "segue_2":
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.