Top "Automatic-ref-counting" questions

Automatic Reference Counting (ARC) is a compiler feature that provides automatic memory management of Objective-C and Swift objects.

To ARC or not to ARC? What are the pros and cons?

I've yet to use ARC, since the majority of the code in the project I'm working on at the moment …

iphone objective-c ipad ios5 automatic-ref-counting
Weak Reference to NSTimer Target To Prevent Retain Cycle

I'm using an NSTimer like this: timer = [NSTimer scheduledTimerWithTimeInterval:30.0f target:self selector:@selector(tick) userInfo:nil repeats:YES]; Of …

objective-c automatic-ref-counting nstimer retain-cycle
weak or strong for IBOutlet and other

I have switched my project to ARC, and I don't understand if I have to use strong or weak for …

ios ios5 automatic-ref-counting weak-references strong-references
ios - Parse Issues in NSObjCRuntime, NSZone, and NSObject

I'm using AddThis to add sharing options in my iOS app. I have imported the classes and added the -fno-objc-arc …

ios compiler-errors automatic-ref-counting addthis
Correct bridging for ARC?

I have a category class for NSString. @implementation NSString (URLEncode) - (NSString *)URLEncodedString { __autoreleasing NSString *encodedString; NSString *originalString = (NSString *)self; …

objective-c automatic-ref-counting
Find where object is retained with ARC

I have an object that is being retained more than necessary (most likely due to a property that is strong …

ios xcode macos automatic-ref-counting
Which is the cause for dyld`dyld_fatal_error, a incompatible api on iOS?

I'm moving part of my projects to iOS 5 / ARC. One of the oldest project (iOS 4.2, armv6 for support iPod Touch 2…

ios5 ios4 crash xcode4.2 automatic-ref-counting
How to debug memory leaks when Leaks instrument does not show them?

I have an iOS app written in Swift that is leaking memory - in certain situation some objects should be …

ios swift memory-management memory-leaks automatic-ref-counting
What property should I use for a Dispatch Queue after ARC?

I maintain a dispatch queue as a property with my view controller. I create this queue once in my view …

objective-c automatic-ref-counting grand-central-dispatch
implicit conversion of an Objective-C pointer to 'void *' is disallowed with ARC

What does this mean and what alternative do I have? implicit conversion of an Objective-C pointer to 'void *' is …

objective-c core-audio automatic-ref-counting