An Objective-C wrapper for Mac OS X’s FSEvents C API.
リビジョン | 21d9b00a28baa9e9d02002d17837d08dbcf8cd54 (tree) |
---|---|
日時 | 2013-04-07 05:20:24 |
作者 | Aron Cedercrantz <aron@cede...> |
コミッター | Aron Cedercrantz |
Merge pull request #17 from kudos/gh-pages
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>, |