Created
January 27, 2019 09:52
-
-
Save bartjacobs/0ab69132edbc7b2c69a3af9d22dd9857 to your computer and use it in GitHub Desktop.
Five Signs of Code Smell in Swift - 1
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
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { | |
if segue.identifier == viewController { | |
let navigationController = segue.destinationViewController as! UINavigationController | |
let addViewController = navigationController.viewControllers.first as! AddViewController | |
addViewController.delegate = self | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment