Cocoa multi window drag and drop example

℡╲_俬逩灬. 提交于 2019-12-05 02:01:38

问题


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.


回答1:


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


来源:https://stackoverflow.com/questions/2457846/cocoa-multi-window-drag-and-drop-example

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!