Created
June 4, 2018 06:52
-
-
Save mitnick78/842fd8df2ea01597cecd17aa1da064fb to your computer and use it in GitHub Desktop.
This file contains 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
func toControllerView(id: Int) { | |
let detailController = self.storyboard?.instantiateViewController(withIdentifier: "DetailController") as! DetailController | |
detailController.id = id | |
self.present(detailController, animated: true, completion: nil) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment