On Sep 10, 2010, at 2:13 AM, Johan Rydberg <johan.rydb...@gmail.com> wrote:
> I'm researching the drag and drop facilities in NSTableView. > > Since there's no "commit drag" method in the data source protocol, is it > possible to do a move operation between two tables with different data > sources? If so, when and how is the row removed from the drag data source? This is what the -draggingSource method on NSDraggingInfo is for. If the drag is coming from within your app, this method will return the drag source object. In your drag destination, inspect this object to coordinate the move between your data sources. --Kyle Sluder_______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com