Hi,
in the Checklist tutorial page 169 exercise, I set the storyboard id of List detail view,intead of the navigation controller view,here is my code:
let controller = storyboard!.instantiateViewController(withIdentifier: "ListDetailViewController") as! ListDetailViewController controller.delegate = self let checklist = lists[indexPath.row] controller.checklistToEdit = checklist present(controller, animated: true, completion: nil)
and this code works, but I don’t understand why the tutorials use the navigation controller’s storyboard id.
help me. pls
thanks.
1 Like
Does this screen have a navigation bar when you open it?
Ok,thanks your help. I test this code, but forget checking edit checklist view., I think I understand it.