Top "Automatic-ref-counting" questions

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

With ARC, what's better: alloc or autorelease initializers?

Is it better (faster & more efficient) to use alloc or autorelease initializers. E.g.: - (NSString *)hello:(NSString *)name { …

objective-c cocoa-touch cocoa memory-management automatic-ref-counting
Css animation across an Arc

Is it possible with current CSS3 to animate an object (DIV) along an this arc?

css jquery-animate automatic-ref-counting animate.css
Objective-C - weak property - getter autoreleases (Automatic Reference Counting)

I have a doubt regarding weak property in ARC (auto reference counting) My understanding (correct me if I am wrong): …

objective-c automatic-ref-counting getter autorelease weak-references
Cocoa blocks as strong pointers vs copy

I did work several times with blocks as with pointers to which i had strong reference I heard that you …

objective-c cocoa automatic-ref-counting objective-c-blocks
Proper way to use instance variables/property/synthetize with ARC

What is the proper way to work with instance variables (declared on interface), their @property and @synthesize, when working in …

ios objective-c automatic-ref-counting synthesize
IBOutlet and viewDidUnload under ARC

There is a similar question to this on SO here, however I just want to clarify something that wasn't fully …

ios weak-references iboutlet automatic-ref-counting
Lazy initialisation and retain cycle

While using lazy initialisers, is there a chance of having retain cycles? In a blog post and many other places […

swift memory-management memory-leaks automatic-ref-counting lazy-initialization