Cocoa多窗口拖放示例 [英] Cocoa multi window drag and drop example

查看:210
本文介绍了Cocoa多窗口拖放示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找一个可爱的例子,说明如何将图像从一个窗口拖动到另一个窗口。如果不是,我想看到一个示例,显示拖动图像从源和目的地在同一个窗口。如果任何人有任何这样的例子的链接,我会非常感谢。

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.

推荐答案

Apple的示例代码页提供:

  • 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

这篇关于Cocoa多窗口拖放示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆