• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Setting the source of an NSArrayController from more than one other controller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [ANN] Big Nerd Ranch Europe
  • Next by Date: Re: [ANN] Big Nerd Ranch Europe
  • Previous by thread: What's the difference...
  • Next by thread: Fixing menu of pop up button
  • Index(es):
    • Date
    • Thread