PXFileWatcher Class Reference
| Inherits from | NSObject |
| Declared in | PXFileWatcher.h |
Tasks
-
+ sharedInstanceThe singleton instance of PXFileWatcher
-
– watchFile:handler:Turn on file monitoring and report changes to the specified handler
Instance Methods
watchFile:handler:
Turn on file monitoring and report changes to the specified handler
- (void)watchFile:(NSString *)filePath handler:(dispatch_block_t)handlerParameters
- filePath
The local file to monitor
- handler
The callback to invoke when changes are detected
Discussion
Turn on file monitoring and report changes to the specified handler
Declared In
PXFileWatcher.h