views:

81

answers:

1

Hey!

My idea:
I select a string/text and drop it on my app's icon.
My app comes up and does fancy things with the string.

Now my question is how I can do it that I can drop it on the app, how I can notify my app and how my app gets the string.

Any suggestions? Thanks for answering and any idea! :)

+3  A: 

I guess that you have already looked at official Drag and Drop Programming Topics for Cocoa .

There is a blog article dealing exactly with your issue: Cocoa Drag and Drop text into the Dock Icon.

mouviciel