I want to change the image used when I drag an element from an NSOutlineView based on the view and data source, but cannot find the hook. I tried to modify
- (void)dragImage:(NSImage *)anImage at:(NSPoint)viewLocation offset:(NSSize)initialOffset event:(NSEvent *)event pasteboard:(NSPasteboard *)pboard source:(id)sourceObj slideBack:(BOOL)slideFlag
in rowViews, in tableCellViews, and in a subclass of NSOutlineView , but to no avail.
Does anyone know where the default image comes from (it is obviously taken from the tableCellView image and text field)?
source share