• 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
Notifications of filesystem changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notifications of filesystem changes


  • Subject: Notifications of filesystem changes
  • From: Ben Kazez <email@hidden>
  • Date: Fri, 23 Sep 2005 16:26:02 -0500

Hi Everyone,

I'm writing an application that allows the user to track additional metadata for certain types of files, much like iTunes does. I would like my application's table views to update automatically when the filesystem changes. Ideally these change notifications should be sent even when the user makes a change (adding/removing/changing a file in the designated directory) via the command line. I believe that this rules out NSWorkspace notifications. There's a related, but rather unfruitful, discussion on this list from 2001:

http://www.cocoabuilder.com/archive/message/cocoa/2001/2/5/29044

Do I need to use kqueue? The wrapper class at http://www.zathras.de/ programming/sourcecode.htm will certainly help. But if there's a built-in Cocoa class, I would prefer to use that instead.

Perhaps it's better just to update every N minutes and provide an "Update Now" command in case the user is impatient?

Looking forward to your advice.

Thanks,
Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Notifications of filesystem changes
      • From: Yann Bizeul <email@hidden>
  • Prev by Date: Re: zip compression/decompression SDK
  • Next by Date: Screen Saver on multiple displays system
  • Previous by thread: Re: zip compression/decompression SDK
  • Next by thread: Re: Notifications of filesystem changes
  • Index(es):
    • Date
    • Thread