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

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/21ae3eef-110c-4a41-82ac-f6ced2d0ab93%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to