I am referring to this example code. I am trying to display imag开发者_开发知识库e in the first column at where lastName is displaying, but unfortunately I can\'t.I think you can do it in two ways-
In my code I am storing an image into my Core Data model (works fine). If I set up my view to have an NSImag开发者_JS百科eView and bind its Data to Controller Key: selection and modelKeyPath: myImageP
I\'ve an NSTableView bound to an NSArrayController with two columns. One column is bound to the arranged objects of the array controller and displays a string.
To start, there\'s an NSArrayController (\"Servers\") whose content is an array of \"server\" objects.
I need to create an NSMatrix with NSImageCells bound to an array controller. So the content of the NSMatrix is bound to an NSArray (so there are as many NSImageCells in the matrix as there are objects