Re: Watch for a file
Re: Watch for a file
- Subject: Re: Watch for a file
- From: Tom Jones <email@hidden>
- Date: Wed, 24 Jun 2009 20:37:27 -0700 (PDT)
Thanks Rob. This works great and if Stu is on this list great class!
tom
----- Original Message -----
From: "Rob Keniger" <email@hidden>
To: "cocoa-dev Dev" <email@hidden>
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 (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
_______________________________________________
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