Automatic Reference Counting (ARC) is a compiler feature that provides automatic memory management of Objective-C and Swift objects.
If a project has already been created with ARC disabled, how do I enable it and vice versa?
objective-c xcode automatic-ref-countingIn a certain (consistent) point when my app is running, I consistently get the xcode error message Terminated due to …
ios objective-c memory-management automatic-ref-countingWhat is the difference between weak and strong property setter attributes in Objective-C? @property(retain, [weak/strong]) __attribute__((NSObject)) CFDictionaryRef …
iphone ios objective-c automatic-ref-countingHow can I avoid this warning in xcode. Here is the code snippet: [player(AVPlayer object) addPeriodicTimeObserverForInterval:CMTimeMakeWithSeconds(0.1, 100) queue:nil …
objective-c cocoa-touch automatic-ref-counting avplayer retainWith ARC, I can no longer cast CGColorRef to id. I learned that I need to do a bridged cast. …
objective-c automatic-ref-counting type-conversion clangI have a working app and I'm working on converting it to ARC in Xcode 4.2. One of the pre-check warnings …
objective-c ios objective-c-blocks automatic-ref-countingI'm currently using the iOS 5 SDK trying to develop my app. I'm trying to make an NSString a property, and …
objective-c variables ios5 properties automatic-ref-countingWhat's the exact reason for using dispatch_once in the shared instance accessor of a singleton under ARC? + (MyClass *)sharedInstance { // …
ios objective-c singleton automatic-ref-countingWhen converting a project to use ARC what does "switch case is in protected scope" mean? I am converting a …
objective-c xcode automatic-ref-countingSwift has: Strong References Weak References Unowned References How is an unowned reference different from a weak reference? When is …
swift memory-management automatic-ref-counting weak-references dangling-pointer