Automatic Reference Counting (ARC) is a compiler feature that provides automatic memory management of Objective-C and Swift objects.
If my reading of Mike Ash's "Zeroing Weak References" writeup is correct, weak references are like assign references without ARC. …
objective-c clang automatic-ref-countingapproach 1: @interface MyController : UIViewController { UILabel *myText; } @property (nonatomic, strong) UILabel *myText; approach 2: @interface MyController : UIViewController @property (nonatomic, strong) UILabel *myText; …
ios objective-c automatic-ref-counting instance-variablesI've got a MKMapView and I'm adding annotations like this: for (NSDictionary *tmp in response) { NSDictionary *places = [tmp objectForKey:@"place"]; …
objective-c ios mkmapview automatic-ref-countingI would like to store a zeroing weak reference to an object in a NSDictionary. This is for a reference …
ios nsdictionary automatic-ref-counting weak-referencesIs it possible to pass [self anyFunction] in blocks without a __weak object from self? As an example this is …
iphone objective-c ios automatic-ref-counting objective-c-blocksI have this strange crash relating to ARC auto-inserting objc_retains in my code. I have the following two classes: @…
xcode automatic-ref-counting performselectorI'm getting this warning "Automatic Reference Counting Issue: Assigning retained object to unsafe_unretained variable; object will be released after …
objective-c object automatic-ref-counting allocI am using this class: https://github.com/alexleutgoeb/ALPickerView Since I converted to ARC, I get this error after …
ios cocoa-touch observer-pattern dealloc automatic-ref-countingJust running the ARC refactoring tool on the new xcode 4.3.1 and noticed that my (nonatomic, retain) properties are being swapped …
ios xcode automatic-ref-countingI have a class that retrieves JSON from a URL and returns the data via the protocol/delegate pattern. MRDelegateClass.…
objective-c memory-management delegates automatic-ref-counting objective-c-blocks