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:
By the way, this also contains FNNotify code, though that doesn't
work on some OS versions, and isn't as reliable as kqueue. FNNotify
relies on other apps correctly sending out notifications for file
changes they do, which sadly only few apps do. Oh, and kqueue and
FNNotify only work locally, not over the network.