I have an array controller for a bunch of objects that are called "client". Clients have a one to many relationship with "records" (the relationship is accessible with the key "records).

I am observing the array controller based on the key "selection.records". I'm running into a problem though. The client can send the didChange/willChangeValueForKey: notifcations, and advertise when it is about to mutate the records relationship. However, I never get notified of the change based on the observation of "selection.records" on the array controller. It seems that the selection proxy object does not advertise the willChange/didChange notifications. The only way it seems to be registered of when the selection's records change is to actually get the real object (by using selected objects and getting the first object), and then directly adding an observer.

Is there a way to get this same behavior to work just by observing based on the selection of the array controller?

Thanks,
Colin
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to