Table with all Key-Value Pairs
Table with all Key-Value Pairs
- Subject: Table with all Key-Value Pairs
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 15 Apr 2009 14:51:07 +0700
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 (email@hidden)
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:
This email sent to email@hidden