Re: NSTableView drag image - using the first column image

2017-12-18 Thread Marek Hrušovský
Override: - (NSArray *)draggingImageComponents; Apple uses it in its sample TableViewPlaygroud. I found it using br -n "-[NSDraggingImageComponent initWithKey:]". lldb and breakpoints can help you. Use hopper or class-dump to see method names (AppKit). Marek. On Fri, Dec 15, 2017 at 6:52 PM,

Re: NSTableView drag image - using the first column image

2017-12-17 Thread Rob Petrovec
You probably want NSTableView -dragImageForRowsWithIndexes:tableColumns:event:offset: —Rob > On Dec 15, 2017, at 10:52 AM, David Catmull wrote: > > In my table view, when you drag an item, the drag image it uses comes from > the column cell where the drag started, rather than using the cell f