Core Data Image Won't Load Into NSTableView Image Cell

Posted by jcady on Stack Overflow See other posts from Stack Overflow or by jcady
Published on 2010-05-19T01:43:31Z Indexed on 2010/05/19 1:50 UTC
Read the original article Hit count: 420

In my code I am storing an image into my Core Data model (works fine). If I set up my view to have an NSImageView and bind its Data to Controller Key: selection and modelKeyPath: myImagePath, it works. It will show each image for the selected row.

I then create a new column in my NSTableView and drag an image cell onto the column. However, I cannot get my Core Data bindings to have the image show up in the cell. I have tried binding both value and data, but no luck.

Since I am sure the image is stored properly, what am I doing wrong in my binding to prevent the image from showing up in the table cell?

Thanks so much.

(My background: new Cocoa developer who has recently gone through the entire Hillegass book.)

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about nstableview