Created
July 28, 2017 08:16
-
-
Save iAmrSalman/f491e81e3a7472cb5cbea3aef3fac90b to your computer and use it in GitHub Desktop.
[Instantiate and Present a viewController] #swift3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let storyboard = UIStoryboard(name: "MyStoryboardName", bundle: nil) | |
let controller = storyboard.instantiateViewController(withIdentifier: "someViewController") | |
self.present(controller, animated: true, completion: nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment