In my app I have a typical master/detail design. I have a masterViewController that handles the tableView and a detailViewController that handles the detail fields. When a row is selected, I get the model object and pass it to the detailViewController which then updates the GUI. This seems to work well.
However, I noticed in the ToDo example code, that rather than passing a model object to the detailViewController, it passes the doc id instead and the detailViewController retrieves the doc.
Is the method used by the sample code a better design? If so, why? Seems like an extra query.
Todd