Dragging Promised Files Into an NSOutlineView
Dragging Promised Files Into an NSOutlineView
- Subject: Dragging Promised Files Into an NSOutlineView
- From: Michael Tsai <email@hidden>
- Date: Wed, 15 Feb 2006 15:43:53 -0500
I have an outline view that I would like to accept promised file drags
using NSFilesPromisePboardType. The problem is that I don't know how to
tell when the promised files have been written to disk.
I can get the locations where the files will be saved by sending
-namesOfPromisedFilesDroppedAtDestination: to the NSDraggingInfo from
inside of -outlineView:acceptDrop:item:childIndex:. However, the
documentation states that the files might not have been written to disk
by the time -namesOfPromisedFilesDroppedAtDestination: returns, and
indeed that's what happens. Is there some method that's called when the
promise has been fully redeemed? I tried overriding
-concludeDragOperation: on the outline view, but that's called way too
soon--right when I release the mouse button to end the drag.
--Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden