#import @class DirectoryWatcher; @protocol DirectoryWatcherDelegate - (void)watcher:(DirectoryWatcher*)watcher observedNewFileAtPath:(NSString*)path; @end @interface DirectoryWatcher : NSObject - (instancetype)initWithPath:(NSString*)path; @property (readonly) NSString * path; @property id delegate; - (void)startWatching; //Automatically called when deallocated - (void)stopWatching; @end