Notifications of filesystem changes
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