I am trying to reproduce drag and drop in the cloudapp for mac system tray menu. I did a search, but did not find anything that could help me. To create the menu, I followed this tutorial http://cocoatutorial.grapewave.com/2010/01/creating-a-status-bar-application/ , but now I'm stuck with drag and drop.
Anyone now how to do this?
You need to use a custom view in NSStatusItem and implement drag and drop in this view.
NSStatusItem
I posted a sample code in my answer to this question .