Guest User

Untitled

a guest
Aug 14th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. FileSystemWatch* watcher = [[FileSystemWatch alloc] init];
  2. [watcher watchFileAtPath:@"path/to/config.plist" target:self action:@selector(fileChanged:)];
  3.  
  4. ...
  5.  
  6. - (void)fileChanged:(FileSystemWatch*)watcher
  7. {
  8. NSLog(@"File changed, time to reload");
  9. }
Add Comment
Please, Sign In to add comment