Re: Dragging file promises

Fritz Anderson <[email protected]> Sat, 6 Oct 2012 14:35:58 -0500
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On 6 Oct 2012, at 6:24 AM, Christiaan Hofman <[email protected]> wrote:

> I am trying to figure out how to drag file promises from views such as =
NSTableView. Before 10.6, I knew how to do this using =
NSFilesPromisePboardType and the =
namesOfPromisedFilesDroppedAtDestination: delegate methods.

I'm having trouble getting my head around any of this. For instance, -
namesOfPromisedFilesDroppedAtDestination: isn't a delegate method, but a =
part of a protocol. And I don't see how NSTableView would know to call =
dragPromised... "implicitly," given that it never knows that it contains =
things that could me converted into file promises.

Could you post your code, please?

	=97 F

--=20
Fritz Anderson -- Xcode 4 Unleashed: 4.5 supplement in the works -- =
<http://x4u.manoverboard.org/>