I have "My Array Controller" which displays it's items (NSDictionaries) in an NSTableView.
So far so good.

But now I want to have another NSTableView which has two columns "Key" and "Value" and which shows all Key-Value-pairs of "My Array Controller".selection (or "My Array Controller".selectedObjects ?).
Or some message like: "Multiple Selection" or "Empty Selection".

How to do this with bindings? (I could do this with a data source, but I want to learn about bindings).

What about NSDictionaryController? I read the documentation and have no idea, whether this would be of any help. Looked into /Developer/Examples and did not find anything with NSDictionaryController. Looked at the "Related sample code" section of NSDictionaryController, but there was none.

Kind regards,

Gerriet.

_______________________________________________

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 arch...@mail-archive.com

Reply via email to