Dragging from finder to an app


#1

I’m following your example in the Mac OSX 4th edition book on how to drag and drop from within an application. What I am trying to do is to drag a file folder from the finder and store its path in my application. I’ve used [[NSWorkspace sharedWorkspace] activateFileViewerSelectingURLs]; to open a finder window and I can drag into an NSTextField but don’t know how to notice that the drag operation concluded or if this is even the correct way to do this. Any help or pointers to where I can get more detailed instructions would be greatly appreciated.

PS - Love your book. I am mostly an iPhone developer and this is my first Mac OSx app.