Skip to content

Instantly share code, notes, and snippets.

@azamsharp
Created November 27, 2017 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azamsharp/c276c652a1404301afee5ea4a1d04089 to your computer and use it in GitHub Desktop.
Save azamsharp/c276c652a1404301afee5ea4a1d04089 to your computer and use it in GitHub Desktop.
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