Using the Apple Mail application as an example; Pretend to use Core Data. When you touch an email account, it displays all the messages in that account. Thus, the controller fulfilled a request for selection for all messages in this account.
Then you touch the message and drill one level deeper, now you are viewing one message. This single message was probably sent from the message list controller, but - you can also click the triangles in the upper right corner to move all messages to the same email account. This means that the view manager also needs the same message list to view a single email message.
So, you can cut and paste the query query logic from the list view, but this is not DRY / don't-repeat-yourself.
Any suggestions for best practice to solve this problem?
, , . I.e., detailViewController, rootViewController detailViewController.
, , ( ), , , detailViewController rootViewController , rootViewController .
, detailViewController ( ). rootViewController , .
, , .
, , , . CoreData - , .