开发者

Drop files into dockbar application

I开发者_如何学C would like to just drag a file over my application in the dockbar and use it in my application, preferably with some event like file_got_dropped or something in that way


Just override the method - (void)application:(NSApplication *)theApplication openFiles:(NSArray *)filenames inside your application's delegate class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜