An Objective-C wrapper for Mac OS X’s FSEvents C API.
Revision | 4137f50826d36ad97f1065e9cc496ad1561afb99 (tree) |
---|---|
Time | 2013-04-07 03:36:41 |
Author | Jonathan Cremin <jonathan@crem...> |
Commiter | Jonathan Cremin |
Fix typo in short example
@@ -59,7 +59,7 @@ | ||
59 | 59 | |
60 | 60 | <span class="class">NSArray</span> *url = [<span class="class">NSURL</span> <span class="method">URLWithString</span>:<span class="string">@"/path/to/directory"</span>]; |
61 | 61 | <span class="class">NSArray</span> *urls = [<span class="class">NSArray</span> <span class="method">arrayWithObject</span>:url]; |
62 | -<span class="keyword">self</span>.<span class="property">events</span> = [[<span class="class">CDEvents</span> <span class="method">alloc</span>]] <span class="method">initWithURLs</span>:urls <span class="method">block</span>: | |
62 | +<span class="keyword">self</span>.<span class="property">events</span> = [[<span class="class">CDEvents</span> <span class="method">alloc</span>] <span class="method">initWithURLs</span>:urls <span class="method">block</span>: | |
63 | 63 | ^(<span class="class">CDEvents</span> *watcher, <span class="class">CDEvent</span> *event) { |
64 | 64 | <span class="external-function">NSLog</span>( |
65 | 65 | <span class="string">@"URLWatcher: %@\nEvent: %@"</span>, |