Hi Quincey, I did read this page - but I'm not sure it does what I want because it's only 2/3rds of my interface. The master-detail explained there works fine for my items list and to display the selected item's properties but I need the list of items (the master in Apple's example) to be the result of another relationship (the accounts - each account can have zero to many items). So almost as master-master-detail, even though that's a terrible term.
Does that make more sense? On Dec 28, 2009, at 4:14 PM, Quincey Morris wrote: > On Dec 28, 2009, at 15:32, Hunter Hillegas wrote: > >> My question is if I can do this all with bindings. The table of accounts >> works fine. What I can't seem to figure out is how to limit the 'Items' in >> the second NSTableView to just be the ones associated with the selected >> account, using bindings. > > If I understand your question correctly, the usual way is to bind the detail > NSArrayController's content via the master NSArrayController's "selection" > property. See: > > > http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaBindings/Tasks/masterdetail.html > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/lists%40lastonepicked.com > > This email sent to li...@lastonepicked.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com