Is it necessary to subclass NSTableView or NSTableCellView to create a custom drag image when the tableView is the drag source?
If not, what is the magic method I am missing to do this? I cannot seem to find anything solid.
NSTableCellView subclasses have can (slightly mysteriously) override:
@property(retain, readonly) NSArray *draggingImageComponents
(array of NSDraggingImageComponent instances that will get composited together (who knows in what fashion they get composited...))
NSTableView itself has
- (NSImage *)dragImageForRowsWithIndexes:(NSIndexSet *)dragRows tableColumns:(NSArray *)tableColumns event:(NSEvent *)dragEvent offset:(NSPointPointer)dragImageOffset
But these are indeed subclassing options it seems.
Anybody know another technique here? (10.8+ is target )