Re: Watching folders for new files and event handling based on that?
Re: Watching folders for new files and event handling based on that?
- Subject: Re: Watching folders for new files and event handling based on that?
- From: Gregory Weston <email@hidden>
- Date: Fri, 10 Aug 2007 13:56:44 -0400
Tim Perrett wrote:
Is there any support within the cocoa frameworks for watching folders
for new files being added and so forth?
I've had a search around the list but there don't seem to be any
solutions to this and was wondering what methods people have taken to
get this kind of functionality?
Getting this in digest mode means someone has already likely
responded, but presuming you don't care about anything older than
10.3 the standard solution is to use kqueues, for which list
participant Uli Kusterer has a nice Objective-C wrapper:
<http://www.zathras.de/angelweb/sourcecode.htm>
Look for UKKQueue.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden