Re: Table with all Key-Value Pairs

2009-04-16 Thread Gerriet M. Denkmann
On 15 Apr 2009, at 19:44, Volker in Lists wrote: You may want to download an example from Apple ;-) : http://developer.apple.com/samplecode/DictionaryController/index.html Thanks for this link. It did help me a lot. One problem though: If I bind the content of my dictionary controller to

Re: Table with all Key-Value Pairs

2009-04-15 Thread Volker in Lists
Hi Gerriet, I recently played around with NSDictionaryController and it was simpler than I thought. You should be able to use the selection of your array controller as source for your Dictionary controller, and then bind the columns of a table view to "key" and "value" of your dictionary

Table with all Key-Value Pairs

2009-04-15 Thread Gerriet M. Denkmann
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".sel