Dragging Files on the Dock Icon

Posted by enchilada on Stack Overflow See other posts from Stack Overflow or by enchilada
Published on 2010-03-28T01:53:52Z Indexed on 2010/03/28 2:03 UTC
Read the original article Hit count: 302

Filed under:
|

I know how handle dragging of files on the dock icon, and it has been asked before.

However, I'm wondering, can I somehow get more control?

For example, can I make the dock icon reject files that are not in the user's folder and allow only files that are in the user's folder?

I'd rather do that instead of the app appearing as if it handles files outside the user's folder, and then within the app delegate afterwards reject the files by detecting the file paths. That doesn't seem good from a user's perspective.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about objective-c