KVO on objects in NSArrayController
KVO on objects in NSArrayController
- Subject: KVO on objects in NSArrayController
- From: Trygve Inda <email@hidden>
- Date: Fri, 02 Sep 2011 19:01:56 -0700
- Thread-topic: KVO on objects in NSArrayController
I have an array of objects (of class MyObject) managed by an
NSArrayController and displayed in an NSTable (via bindings).
One property of MyObject is a BOOL "marked".
I need to be notified whenever the user toggles a "marked" checkbox in my
NSTable.
What is the best way to do this? Do I need to add an observer to every
object in the array (there are about 8,000 of them).
How can I best achieve this so that I get passed the changed MyObject
(immediately after it changes).
Thanks,
Trygve
_______________________________________________
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