I have an OSX app that I would like to migrate to ARC. Everything works fine if I set the base SDK to 10.7. But when I set it to 10.6 it does not work ( because it does not find _objc_release etc.). So how do I deploy my app to 10.6 with ARC enabled?
相关问题
- Cast NSURL ** to CFURLRef *
- Strange “zombie” in forwardInvocation: + getArgume
- NSOutlineView drag line stuck + blue border
- iphone sdk see size of local file (one created
- How can you detect the connection and disconnectio
相关文章
- Converting (u)int64_t to NSNumbers
- “getter” keyword in @property declaration in Objec
- git command-line on Mac OS error “dyld: Symbol not
- NSMenuItem KeyEquivalent “ ”(space) bug
- -fno-objc-arc not working to disable ARC
- Detect if cursor is hidden on Mac OS X
- NSNumberFormatter doesn't allow typing decimal
- Is subclassing NSNotification the right route if I
You set the SDK to 10.7 but the Deployment Target to 10.6.
Keep in mind:
Source: Automatic Reference Counting
You might find PLWeakCompatibility useful. It allows you to use __weak variables on iOS 4 and OS X 10.6.
Source code here: https://github.com/plausiblelabs/PLWeakCompatibility
More info at http://www.mikeash.com/pyblog/introducing-plweakcompatibility.html