Skip to content

Instantly share code, notes, and snippets.

@ryantxr
Created March 24, 2016 19:08
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 ryantxr/d8f610dc8aa32a277728 to your computer and use it in GitHub Desktop.
Save ryantxr/d8f610dc8aa32a277728 to your computer and use it in GitHub Desktop.
Launch a view controller from another storyboard.
func settingsButtonPressed(sender:UIButton) {
let storyboard = UIStoryboard(name: "AccountLinking", bundle: nil)
let linkingVC = storyboard.instantiateViewControllerWithIdentifier("AccountLinkingTable")
self.navigationController?.pushViewController(linkingVC, animated: true)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment