Hi,
I'm trying to understand cocoa bindings, but I found a problem that I'm really not able to understand.
I've got a really simple application in which you have a table with two columns and I want to bind this two columns to myController object that has two NSArray of literal string objects.
So I created two NSArrayController and bound each to one of the two arrays in myController. Then I bound the table columns to each NSArray using as Model Key Path: description, as Controller Key: arrangedObjects, and as Class Name: NSString.
The result is indeed strange: in the second column everything is okay, but in the first I got only a "(" and for every value of the first column.
Even stranger if I unbind the second column, the first starts to work well.
I tried to create two different table and bind their columns to the respective NSArrayController, and then it works.
So my impression is that the columns in the same table interact is some sort of way.
Any idea?