> On 02 Dec 2016, at 18:19, Jens Alfke <j...@mooseyard.com> wrote:
> 
> NSTableView has a whole set of delegate calls for implementing drag & drop; 
> you should use those instead. For example
> 
> - (NSDragOperation)tableView:(NSTableView*)tv 
>                 validateDrop:(id <NSDraggingInfo>)info 
>                  proposedRow:(NSInteger)row
>        proposedDropOperation:(NSTableViewDropOperation)op

Ah! Stupid me, of course I only looked at the delegate, not at the data source.
Thanks, I could copy my code almost verbatim and I get a highlite line too now 
as a bonus.

Jan E.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to