Hello!

I have a very simple (one would think) master-detail arrangement: there is a domain object, which has several items, each of items has several parts.

In the GUI window which represents domain object, one array controller is bound to FileOwner.items (file owner is a domain object), and this is displayed in NSTableView and it works fine. Then there is another array controller, which is bound to first array controller's selection and model key path 'parts'. This is displayed in NSCollectionView.

The problem is that when selection is changed in NSTableView, nothing at all changes in NSCollectionView. I have inserted NSLog in the 'parts' method and it is called exactly once - when the nib is loaded....

So the parts are displayed only once for the first selected item, and afterwards nothing changes, despite the change of selection.

Now, can somebody suggest what am I doing wrong or how can I debug this not-working setup?


Thanks in advance,

izidor

_______________________________________________

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