An Objective-C wrapper for Mac OS X’s FSEvents C API.
Revision | a9c7e2677b71cab240ee4a8a304902bac69c1497 (tree) |
---|---|
Time | 2013-05-16 11:37:48 |
Author | Tomoki Aonuma <uasi@uasi...> |
Commiter | Tomoki Aonuma |
Fix typo: wheter -> whether.
@@ -73,7 +73,7 @@ extern NSString *const CDEventsEventStreamCreationFailureException; | ||
73 | 73 | #define CD_EVENTS_DEFAULT_NOTIFICATION_LATENCY ((NSTimeInterval)3.0) |
74 | 74 | |
75 | 75 | /** |
76 | - * The default value wheter events from sub directories should be ignored or not. | |
76 | + * The default value whether events from sub directories should be ignored or not. | |
77 | 77 | * |
78 | 78 | * @since 1.0.0 |
79 | 79 | */ |
@@ -277,7 +277,7 @@ typedef void (^CDEventsEventBlock)(CDEvents *watcher, CDEvent *event); | ||
277 | 277 | onRunLoop:(NSRunLoop *)runLoop; |
278 | 278 | |
279 | 279 | /** |
280 | - * Returns an <code>CDEvents</code> object initialized with the given URLs to watch, URLs to exclude, wheter events from sub-directories are ignored or not and schedules the watcher on the given run loop. | |
280 | + * Returns an <code>CDEvents</code> object initialized with the given URLs to watch, URLs to exclude, whether events from sub-directories are ignored or not and schedules the watcher on the given run loop. | |
281 | 281 | * |
282 | 282 | * @param URLs An array of URLs (<code>NSURL</code>) we want to watch. |
283 | 283 | * @param delegate The delegate object the CDEvents object calls when it recieves an event. |
@@ -287,7 +287,7 @@ typedef void (^CDEventsEventBlock)(CDEvents *watcher, CDEvent *event); | ||
287 | 287 | * @param ignoreEventsFromSubDirs Wheter events from sub-directories of the watched URLs should be ignored or not. |
288 | 288 | * @param exludeURLs An array of URLs that we should ignore events from. Pass <code>nil</code> if none should be excluded. |
289 | 289 | * @param streamCreationFlags The event stream creation flags. |
290 | - * @return An CDEvents object initialized with the given URLs to watch, URLs to exclude, wheter events from sub-directories are ignored or not and run on the given run loop. | |
290 | + * @return An CDEvents object initialized with the given URLs to watch, URLs to exclude, whether events from sub-directories are ignored or not and run on the given run loop. | |
291 | 291 | * @throws NSInvalidArgumentException if the parameter URLs is empty or points to <code>nil</code>. |
292 | 292 | * @throws NSInvalidArgumentException if <em>delegate</em>is <code>nil</code>. |
293 | 293 | * @throws CDEventsEventStreamCreationFailureException if we failed to create a event stream. |
@@ -375,7 +375,7 @@ ignoreEventsFromSubDirs:(BOOL)ignoreEventsFromSubDirs | ||
375 | 375 | onRunLoop:(NSRunLoop *)runLoop; |
376 | 376 | |
377 | 377 | /** |
378 | - * Returns an <code>CDEvents</code> object initialized with the given URLs to watch, URLs to exclude, wheter events from sub-directories are ignored or not and schedules the watcher on the given run loop. | |
378 | + * Returns an <code>CDEvents</code> object initialized with the given URLs to watch, URLs to exclude, whether events from sub-directories are ignored or not and schedules the watcher on the given run loop. | |
379 | 379 | * |
380 | 380 | * @param URLs An array of URLs (<code>NSURL</code>) we want to watch. |
381 | 381 | * @param block The block which the CDEvents object executes when it recieves an event. |
@@ -385,7 +385,7 @@ ignoreEventsFromSubDirs:(BOOL)ignoreEventsFromSubDirs | ||
385 | 385 | * @param ignoreEventsFromSubDirs Wheter events from sub-directories of the watched URLs should be ignored or not. |
386 | 386 | * @param exludeURLs An array of URLs that we should ignore events from. Pass <code>nil</code> if none should be excluded. |
387 | 387 | * @param streamCreationFlags The event stream creation flags. |
388 | - * @return An CDEvents object initialized with the given URLs to watch, URLs to exclude, wheter events from sub-directories are ignored or not and run on the given run loop. | |
388 | + * @return An CDEvents object initialized with the given URLs to watch, URLs to exclude, whether events from sub-directories are ignored or not and run on the given run loop. | |
389 | 389 | * @throws NSInvalidArgumentException if the parameter URLs is empty or points to <code>nil</code>. |
390 | 390 | * @throws NSInvalidArgumentException if <em>delegate</em>is <code>nil</code>. |
391 | 391 | * @throws CDEventsEventStreamCreationFailureException if we failed to create a event stream. |