> On Dec 2, 2016, at 5:36 AM, J.E. Schotsman <jesc...@xs4all.nl> wrote:
> 
> I am still not sure if I am doing this the right way (extending NSTableView) 
> because Xcode says "Subclassing NSTableView is usually not necessary”.

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

—Jens
_______________________________________________

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