Skip to content

Instantly share code, notes, and snippets.

@igordeoliveirasa
Last active April 12, 2016 13:24
Show Gist options
  • Save igordeoliveirasa/d97272965b2cdd4d73c6 to your computer and use it in GitHub Desktop.
Save igordeoliveirasa/d97272965b2cdd4d73c6 to your computer and use it in GitHub Desktop.
iOS - Swift - Show View Controller
let _storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = _storyboard.instantiateViewControllerWithIdentifier("countryTableViewController") as CountryTableViewController
vc.setupDelegate = self
self.showViewController(vc, sender: nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment