Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cocoa multi window drag and drop example

I am looking for a cocoa example that illustrates how to drag an image from one window to another. If not I would like to see an example that shows dragging an image from a source and destination in the same window. If anyone has a link to any such examples I would greatly appreciate it.

like image 460
Mike2012 Avatar asked Dec 29 '22 22:12

Mike2012


1 Answers

Searching for "drag and drop" on Apple's sample code page gives:

  • http://developer.apple.com/mac/library/samplecode/CocoaDragAndDrop/index.html
  • http://developer.apple.com/mac/library/samplecode/DragAndDrop_Shell/index.html
  • http://developer.apple.com/mac/library/samplecode/DragItemAround/index.html
  • http://developer.apple.com/mac/library/samplecode/DragNDropOutlineView/index.html
like image 170
Chuck Avatar answered Dec 31 '22 11:12

Chuck