I implemented drag and drop in an NSTableView by writing the row indexes of the 
rows to be copied/moved to the pasteboard, which works.

Now I want to allow drag and drop from one document to another, and my first 
guess was to write the row data to the pasteboard.
What puzzles me, is how to delete the row data from the source data, in case of 
a move. That is, my acceptDrop inserts the row data into the destination data 
source, but the indexes of the source rows are not available at this point. Of 
course, I can add row numbers to the row data on the pasteboard, but this is a 
bit double. What is the standard approach to this?
---
Grinnikend door het leven...

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to