Master - Detail Lists with NSArrayController
Master - Detail Lists with NSArrayController
- Subject: Master - Detail Lists with NSArrayController
- From: Todd Blanchard <email@hidden>
- Date: Wed, 22 Jun 2005 08:32:06 -0700
None of this is using coredata.
I have an array controller (FirstController) that has its content
array bound to arbitraryObject.parents. I have a table view bound to
this thing. It works.
Parent has a method that returns an array called children.
I have a second array controller that has its content array bound to
FirstController.selection.children. I also have a table view bound
to this thing.
This does not work. I have tried various combinations of bindings to
try to bind the children array of the one selected object in
FirstController to the contentArray of SecondController and I seem to
get various random objects or nothing appearing in the second table.
This should not be this hard.
To get the children array of the selected parent I have tried binding
contentArray in SecondController to:
FirstController.selection.children
FirstController.selectedObjects.lastObject.children
and various similar ideas. I'm stumped.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden