Okay to leave -concludeDragOperation: empty?
Okay to leave -concludeDragOperation: empty?
- Subject: Okay to leave -concludeDragOperation: empty?
- From: Jeremy Dronfield <email@hidden>
- Date: Sun, 25 Apr 2004 17:10:13 +0100
I'm implementing drag-n-drop from a table view to a text view. The
table contains a list of image files. The user can drag items out of
the table view and drop them onto the text view, resulting in the image
being inserted in the text. Images can also be dragged in from the
Finder.
So far so groovy. The issue is that I appear to have no use for the
NSDraggingDestination method -concludeDragOperation:. I've implemented
the method, because without it I was getting a "drag operation failed"
error (even though the drag operation hadn't failed - this method is
automatically called after -performDragOperation has returned YES). So
I've got an empty implementation of -concludeDragOperation: in my text
view subclass. My question, therefore, is: Am I missing something? I
understand from the docs that -concludeDragOperation: is for tidying up
the view after the drop, but I don't need this because tidying up is
handled elsewhere.
-Jeremy
===================================
SkoobySoft, home of viJournal
email: email@hidden or visit:
http://freespace.virgin.net/jeremy.dronfield/skoobysoft.html
===================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.