Thanks Rob. This works great and if Stu is on this list great class! tom
----- Original Message ----- From: "Rob Keniger" <r...@menumachine.com> To: "cocoa-dev Dev" <cocoa-dev@lists.apple.com> Sent: Wednesday, June 24, 2009 7:57:21 PM GMT -08:00 US/Canada Pacific Subject: Re: Watch for a file On 25/06/2009, at 12:38 PM, Graham Cox wrote: > > No. > > There are other ways however - search the documentation for "folder > watching" and "kqueue". Uli Kusterer has a small easy-to-use class > for this - UKKQueue. I'd also recommend Stu Connolly's SCEvents class: http://stuconnolly.com/blog/scevents-011/ This is a wrapper around FSEvents, which is what Spotlight etc uses to keep track of file changes. FSEvents is a newer API then kqueues and I found SCEvents much easier to implement than UKKQueue. -- Rob Keniger _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/tjones%40acworld.com This email sent to tjo...@acworld.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com