• 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
How to have one array controller observing the other
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to have one array controller observing the other


  • Subject: How to have one array controller observing the other
  • From: Arthur C. <email@hidden>
  • Date: Tue, 23 Oct 2007 18:50:10 +0200
  • Importance: Normal

I have two array controllers. One is called Recipe and contains several properties, indexed from 0 to N. A second one, indexedProperties, lists properties of a selected index, to be used in other parts of the code. This is done by setting a filterPredicate (binding).

Now I have found that when a change is made to Recipes (by updating one of the properties), this is not communicated directly to indexedProperties.
Is it possible to have this done without adding code (i.e. making it a custom array controller)?

Thanks in advance,

Arthur C.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/_______________________________________________

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

  • Follow-Ups:
    • Re: How to have one array controller observing the other
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Expanding all Nodes in an NSOutlineView on Load
  • Next by Date: Re: How to have one array controller observing the other
  • Previous by thread: Re: nodesForXPath and namespace issue
  • Next by thread: Re: How to have one array controller observing the other
  • Index(es):
    • Date
    • Thread