Skip to content

Instantly share code, notes, and snippets.

@samwarnick
Created April 19, 2017 17:32
Show Gist options
  • Save samwarnick/c2c93f6e0577cfd79685cf0dc60caf9b to your computer and use it in GitHub Desktop.
Save samwarnick/c2c93f6e0577cfd79685cf0dc60caf9b to your computer and use it in GitHub Desktop.
Programmatic segues
let nextViewController = NextViewController()
nextViewController.modalPresentationStyle = .custom
nextViewController.modalTransitionStyle = .crossDissolve
present(nextViewController, animated: true, completion: nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment