Hello All, I'm observing the "selection" property of a NSArrayController object so I can redraw a custom view whenever the selection of the controllers' objects changes. This seems to work fine, except that I also receive messages for the "selection" keypath when sending addObject: or removeObject: to the controller. The same happens when observing other keypaths like "selectedObjects" or "selectedObjects.count". As a result I'm redrawing my custom view time many times when it's not required.
Is there a way to avoid this? Thank you, -- Luc Van Bogaert
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com