• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

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

Revisionf4da94003e8b82a72136ac06cd3bdf893cf89d2d (tree)
Time2011-08-31 03:29:43
AuthorAron Cedercrantz <aron@cede...>
CommiterAron Cedercrantz

Log Message

Updated the readme to reflect the new deployment target.

Change Summary

Incremental Difference

--- a/README.mdown
+++ b/README.mdown
@@ -5,7 +5,7 @@
55 It's an Objective-C wrapper for Mac OS X's [FSEvents C API](http://developer.apple.com/mac/library/documentation/Darwin/Reference/FSEvents_Ref/FSEvents_h/index.html). Inspired and based upon the ([MIT-licensed](http://www.opensource.org/licenses/mit-license.php)) open source project [SCEvents](http://stuconnolly.com/projects/code/) created by [Stuart Connolly](http://stuconnolly.com/).
66
77 ## Requirements ##
8-Requires Mac OS X 10.7 (Lion) and an Intel 64-bit CPU, the requirements stem from that automatic reference counting (ARC) was introduced with full support in OS X 10.7 when using the modern (i.e. 64-bit) Objective-C runtime. Supports both manual memory management and automatic reference counting.
8+Requires Mac OS X 10.6 (Snow Leopard) and an Intel 64-bit CPU. The requirements stems from that automatic reference counting (ARC) is supported from 10.6 and up as long as the modern (i.e. 64-bit) Objective-C runtime is used. (ARC requires the non-fragile ABI.) Although the built product should work on 10.6 and up it must be built on a machine running 10.7 (Lion) using Xcode 4.2 and the 10.7 SDK as the 10.6 SDK does not include ARC. Supports both manual memory management and automatic reference counting.
99
1010 If you need to support older versions of OS X please see the non-ARC branch, currently `develop` and `master`. Though which branch is the non-ARC will probably change in the future.
1111
@@ -30,6 +30,8 @@ If you need to support older versions of OS X please see the non-ARC branch, cur
3030 ignoreEventsFromSubDirs:CD_EVENTS_DEFAULT_IGNORE_EVENT_FROM_SUB_DIRS
3131 excludeURLs:<NSArray of URLs to exlude>
3232 streamCreationFlags:kCDEventsDefaultEventStreamFlags];
33+
34+**Important:** Since we have 10.6 set as the deployment target automatic zeroing of weak references is not available and as such 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!
3335
3436 For more details please refer to the documentation in the header files and the section "API documentation" below.
3537