• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Watch for a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Watch for a file (From: Rob Keniger <email@hidden>)

  • Prev by Date: Re: GC pros and cons
  • Next by Date: Re: Watch for a file
  • Previous by thread: Re: Watch for a file
  • Next by thread: Re: Watch for a file
  • Index(es):
    • Date
    • Thread