Cocoa Bindings master-detail interface with sets of data in the detail part
Cocoa Bindings master-detail interface with sets of data in the detail part
- Subject: Cocoa Bindings master-detail interface with sets of data in the detail part
- From: Paul Bruneau <email@hidden>
- Date: Thu, 16 Aug 2007 10:27:15 -0400
Hello-
I am working on a master-detail interface similar to what is
described here:
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/Tasks/masterdetail.html
But in my Detail part I wish to display an array in a table.
So for example, say you had an array of People (the Master part), but
each master person in that array has an array of Friends.
I would like to display in the Detail part of the interface an
NSTableView that show's that person's friends. Ideally, I want to be
able to add or subtract friends to or from this person from a list of
all available friends.
I have looked for examples but haven't been able to find any like
this (which seems strange to me since this seems like a common enough
scenario), nor have my fumblings in IB gotten me there. The closest I
have gotten is that in the detail part, the Friends array's elements
are all displayed on the same line comma-delimited in parentheses.
TIA
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden