Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想构建一个 Cocoa 应用程序,我可以在其中从文件夹或桌面获取 PNG,然后将其拖放到已经运行的 Cocoa 应用程序窗口中,该应用程序将获取该 png 并简单地将其显示在帆布。那可能吗?如果是这样,我可以从哪里开始寻找任何线索?
提前致谢!
如果有人关心,为了进行拖放,您可以使用 NSDraggingDestination。