On 2006/02/25, at 15:07, Camillo Lugaresi wrote:
On 25/feb/06, at 17:33, email@hidden wrote:
Does *anyone* know how to get an array into a table column or
NSArrayController using a plain array or array indexed accessors?
Use the contentArray binding or the setContent method of
NSArrayController.
Ok, yes this works, I don't know why I was having problems before.
I was binding contentArray to an object with indexed accessors, for
some bizarre reason it wasn't working right...
In any case, the main problem I'm still having is that if each
column is bound to a different base key path (even if the same
controller), then the second column doesn't know what to do
with the array its given and just prints the description of the
array..... this is the main problem I'm having. So I can't seem to
convince the table column to pull the items out into each row...
To exemplify here's some pics of the problem:
http://homepage.mac.com/son_gohan/Pic3.png
http://homepage.mac.com/son_gohan/Pic4.png