• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

An Objective-C wrapper for Mac OS X’s FSEvents C API.


Commit MetaInfo

Révisiondc72057d7d6f5200466a83c90201a037c42c7724 (tree)
l'heure2013-05-16 15:36:23
AuteurTomoki Aonuma <uasi@uasi...>
CommiterTomoki Aonuma

Message de Log

Fix whitespace.

Change Summary

Modification

--- a/CDEvent.m
+++ b/CDEvent.m
@@ -96,7 +96,7 @@
9696 return self;
9797 }
9898
99-#pragma mark Specific flag properties
99+#pragma mark Specific flag properties
100100 - (BOOL)isGenericChange
101101 {
102102 return (kFSEventStreamEventFlagNone == _flags);
--- a/README.mdown
+++ b/README.mdown
@@ -1,5 +1,5 @@
11 # CDEvents
2-***Note:*** The `develop` branch **requires Mac OS X 10.6 or newer** as the framework relies on [ARC](http://clang.llvm.org/docs/AutomaticReferenceCounting.html "Automatic Reference Counting Technical Specification") and [blocks](http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Blocks/Articles/00_Introduction.html "Blocks Programming Topics").
2+***Note:*** The `develop` branch **requires Mac OS X 10.6 or newer** as the framework relies on [ARC](http://clang.llvm.org/docs/AutomaticReferenceCounting.html "Automatic Reference Counting Technical Specification") and [blocks](http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Blocks/Articles/00_Introduction.html "Blocks Programming Topics").
33
44 Website: http://rastersize.github.com/CDEvents
55
@@ -26,9 +26,9 @@ You can use either the block based version (recommended) or the delegate based.
2626 Easy example code:
2727
2828 self.events = [[CDEvents alloc] initWithURLs:<NSArray of URLs to watch>
29- block:^(CDEvents *watcher, CDEvent *event) {
30- <Your code here>
31- }];
29+ block:^(CDEvents *watcher, CDEvent *event) {
30+ <Your code here>
31+ }];
3232
3333 Or use all the all-options initiator:
3434
@@ -69,7 +69,7 @@ Example code:
6969
7070 See the test app (`TestApp`) for an example on how to use the framework.
7171
72-**Important:** Since Mac OS X 10.6 is set as the deployment target automatic zeroing of weak references is not available. Thus you must set the `delegate` of `CDEvents` to `nil` when you no longer want to receive events. That is, at least in your `-dealloc` method. This is also required when using 10.7 and up! (`delegate` is an `unsafe_unretained` property.)
72+**Important:** Since Mac OS X 10.6 is set as the deployment target automatic zeroing of weak references is not available. Thus you must set the `delegate` of `CDEvents` to `nil` when you no longer want to receive events. That is, at least in your `-dealloc` method. This is also required when using 10.7 and up! (`delegate` is an `unsafe_unretained` property.)
7373
7474 For more details please refer to the documentation in the header files and the section "API documentation" below.
7575