> On Dec 2, 2016, at 5:36 AM, J.E. Schotsman <[email protected]> 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 ([email protected])
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 [email protected]