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 prepare(for segue: UIStoryboardSegue, sender: Any?) { | |
switch segue.identifier! { | |
case "showTodoDetail": | |
// Get the detail view controller in a local var | |
let todoDetailVC = segue.destination as! TodoDetailViewController | |
// Get the specific model in a local var | |
let cell = sender as! TodoTableViewCell | |
NewerOlder