Acknowledging a successful drop operation
Acknowledging a successful drop operation
- Subject: Acknowledging a successful drop operation
- From: Tim Hewett <email@hidden>
- Date: Thu, 11 Dec 2003 12:40:16 +0000
Hi,
My app receives drops of files from the Finder onto a NSTableView.
It all works but the acceptDrop method has to open a dialog after the
drop has been processed. This hangs the Finder for a short time until
the drop slides back to it, because acceptDrop hasn't returned YES
or NO yet. I tried separating the dialog out into another method then
calling performSelectorOnMainThread on it in acceptDrop, with the
waitUntilDone argument set to NO, but that didn't help.
It seems to me that the only solution is to have a way for acceptDrop
to send YES or NO back to the Finder before it actually returns. I have
done much R-ing of TFM but TFM isn't helping so far...!
I guess this scenario happens quite a lot, is there some proven way
to handle it?
Regards,
Tim.
_______________________________________________
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.