Hi all,

I've got a question regarding bindings and to-many relationships. I've got my own array controller which has a arrangedObjects property. It is KVO observable as in notifications are sent when objects are added / removed (and obviously if the actually content array changes). Now my question is regarding KVO and any paths which go through arrangedObjects - for example, if some object wants to receive notifications for arrangedObjects.name, how do I handle this?

Conceptually, whose responsibility is it when someone wants to observe arrangedObjects.name? Is it the array controller's or is it whoever is interested? I've seen the GraphicsBindings example where the sample code subscribes to receive notification for each object's "name" path rather than observing arrangedObjects.name. I'm a bit puzzled which route to take since it seems that NSArrayController allows observation of arrangedObjects.name.

Does anyone know how NSTableColumn handles this?

Thanks,
M
_______________________________________________

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