Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
PrepareForSegue
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
if segue.identifier == SegueIdentifier.showSourceDetails {
performSegueForShowSourceDetails(segue: segue)
} else if segue.identifier == SegueIdentifier.addSource {
performSegueForAddSource(segue: segue)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment