Created
August 17, 2019 04:50
-
-
Save HassanElDesouky/a7130407237547a47b2a89c77abacb82 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
@objc func addNewList() { | |
let storyboard = UIStoryboard(name: "CreateList", bundle: nil) | |
guard let createListController = storyboard.instantiateViewController(withIdentifier: "CreateListController") as? CreateListController else { return } | |
createListController.delegate = self // delegate connected | |
let vc = UINavigationController(rootViewController: createListController) | |
present(vc, animated: true, completion: nil) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment