• 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
Re: Observing Collections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Observing Collections


  • Subject: Re: Observing Collections
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 4 Jan 2006 18:05:20 -0800


On Jan 2, 2006, at 3:18 PM, Chad Woolf wrote:

I want to observe a key on objects residing in a collection (NSSet preferably but maybe an NSArray would work too). So, lets say I have a collection of 10 objects, each having a key "enabled", and I want to observe the value of the key "enabled" for each object, and also track new objects coming and going from the collection. (I want to do this because I want to maintain a separate collection of enabled objects, and I want to it always be up to date)
[...]
How would you do it?

<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html> See "Graphics Bindings".

mmalc

_______________________________________________
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


References: 
 >Observing Collections (From: Chad Woolf <email@hidden>)

  • Prev by Date: Re: Bug? SegmentedView Appearance on a Unified Window
  • Next by Date: Re: Core Data Binding: Reading a binary image (TIFF) {part deux}
  • Previous by thread: Observing Collections
  • Next by thread: Re: Observing Collections
  • Index(es):
    • Date
    • Thread