3
votes

I'm trying to reproduce the drag and drop into the system bar menu of cloudapp for mac. I've done some search but doesn't 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 on the drag and drop.

Does anyone now how to do that ?

1
possible duplicate of Drag and Drop with NSStatusItemRob Keniger

1 Answers

3
votes

You need to use a custom view in your NSStatusItem and implement drag and drop in that view.

I posted example code in my answer to this question.