Notification for if User changes Finder Label on File

2012-11-20 Thread Michael Starke
Sorry for asking this question again, but i did not find any more details about how to improve what I want to achive or if the way i do it is the only way to go. Therfore I'm politly asking again. Situation is, that I need to watch a file (Volume to be precise) for any changes the user makes

Re: Notification for if User changes Finder Label on File

2012-11-20 Thread Jean-Daniel Dupas
You can use the libdispatch to monitor file changes (using DISPATCH_SOURCE_TYPE_VNODE). You can also use a kqueue to look for change on a specific file. If you want a Cocoa wrapper, there is the well known UKKQueue class available on the net. Both solutions are far more efficient if you have