Drag and Drop from my Application to Finder

Discussion in 'Mac Programming' started by imranpundeer, Jan 10, 2009.

  1. imranpundeer macrumors newbie

    Jan 10, 2009
    Hi All,
    I am a new programmer on MAC OS.
    please help me out how can i Drag and Drop some files or folder from my application to Finder. i don't know how to implement Dragging Source.
    Any help would be appreciated.

  2. imranpundeer thread starter macrumors newbie

    Jan 10, 2009
    Thanks a lot..i got it..
    It solved my problem.

    Thanks again :)
  3. imranpundeer thread starter macrumors newbie

    Jan 10, 2009
    As you suggest that Drag file promises, i have done like that.
    In my application Files are dragging from my application to Finder on mouseDown event. So due to this, whenever i click on NSTableView, Every time mouse down event fire, so i am not able to select any row of the table. Please suggest me where should i put my Dragging code except mouse down event for Dragging files from My NStableView to Finder.

    Thanks & Regards,
  4. MrFusion macrumors 6502a

    Jun 8, 2005
    First look at how to do drag and drop within your table, then expand that knowledge to include NSFilePromisesPboard.

    You don't have to use mouse down events, if you want to drag from the table to the finder.

Share This Page