Implementing Drag And Drop using File Promise and internally between document windows

Hi Everyone,


I have an app that is usign file-promise API (successfully) to implement D&D between my app and the Finder.

However, now that this works - I can't get the internal D&D to work, between the document windows in the app.


I got a proof-of-concept/template project - to test this. I was hoping that this could be of some help to anyone who wants to implement this feature in their apps. The documentation in this area is not good.


I woudl appriciate any help and pointers, please. Thanks.


URL to the project on github: https://github.com/greggjaskiewicz/macOS-drag-and-drop-POC

Replies

Just to let everyone know, I have found the issue. However, I'm still happy to see if anyone could help me turning this into the neatest simplest template-sample.
Thanks!