views:

22

answers:

1

Hello,

I need to make a drag and drop view in cocoa that will accept folders. I know it will use things like NSView and probably registerForDraggedTypes: (which I still am not sure how to go about using). Does anyone know how to get this working?

Thanks in advance

+1  A: 

Most of what you need is in the drag and drop documentation, but what you need specifically is the NSFilenamesPboardType. It's an array if file paths.

Joshua Nozzi
Thanks i'll look that up.
happyCoding25