I'm trying to display an array of NSManagedObjects
in a NSTableView
using a custom NSCell
that is able to draw the managed object properly.
For that matter, the single column of my NSTableView
is binded to the arrangedObjects
of a NSArrayController
. I'm not using any key paths on the object.
I was under the impression that my NSCell
subclass would receive a setObjectValue:
message when the table view wants to draw a particular item, but this isn't happening. But that wouldn't even work since the NSManagedObjects
aren't conforming to the Copying
protocol.
I suspect this is a common task and that there must be some simple way to do this, but I really don't see it right now.
Any insight would be appreciated.