• 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: Watching folders for new files and event handling based on that?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Watching folders for new files and event handling based on that?
      • From: Tim Perrett <email@hidden>
    • Re: Watching folders for new files and event handling based on that?
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: Compile warnings according to method order
  • Next by Date: Re: Watching folders for new files and event handling based on that?
  • Previous by thread: Re: Watching folders for new files and event handling based on that?
  • Next by thread: Re: Watching folders for new files and event handling based on that?
  • Index(es):
    • Date
    • Thread