开发者

How can I monitor a folder with Cocoa?

I want to create a Cocoa application to monitor a folder for new files on Mac OS X. I know I can do this using AppleScript and Folder Actions, but how can I use ObjC and Cocoa for 开发者_JAVA百科that?


Have a look at File System Events

Although, for really fine-grained monitoring the documentation points to using kqueues

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜