Setting the source of an NSArrayController from more than one other controller
Setting the source of an NSArrayController from more than one other controller
- Subject: Setting the source of an NSArrayController from more than one other controller
- From: Alexander Lamb <email@hidden>
- Date: Mon, 26 Sep 2005 23:06:54 +0200
Hello,
I would like to have an NSArrayController represent a list of objects
which are filtered not only from one master controller (like in the
example of the documentation) but from two. Indeed, it is like "get
all the objects where attribute A comes from what is selected in
controller A and attribute B comes from what is selected in
controller B".
Is it possible to do that somewho from interface builder or will I
have to build an NSArray using a custom search to populate the detail
controller?
If so, what is the best way to have the detail controller ask for the
arrangedObjects again each time a selection changes in one of the
master controllers?
Thanks,
Alex
--
Alexander Lamb
email@hidden
_______________________________________________
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