Top "Automatic-ref-counting" questions

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

Cocoa-Touch – Delegate confusion

I just started a new project running Xcode 4.2.1 and iOS5 SDK. The project is setup with ARC. I'm trying to …

objective-c cocoa-touch delegates automatic-ref-counting uiapplicationdelegate
UIPageViewController crashes when flipped too fast during low memory

I had some memory problems due to Xcode's template for a UIPageViewController caching all the page data, so I changed …

ios automatic-ref-counting uipageviewcontroller
How to know if my Xcode iPhone project is using ARC?

I want to know if my Xcode iPhone project is using ARC, and I can't remember if I ticked that …

iphone xcode automatic-ref-counting
Releasing unused pages in UIPageViewController

I am using a separate .h, .m, and .xib files for each UIViewController based page of a UIPageViewController based picture …

ios xcode memory-management automatic-ref-counting uipageviewcontroller
iOS ARC - weak and strong properties

I'm trying to understand the way ARC works, and as far as I know, I should be doing something wrong …

iphone automatic-ref-counting retain weak
Why is object not dealloc'ed when using ARC + NSZombieEnabled

I converted my app to ARC and noticed that an object alloc'ed in one of my view controllers was not …

iphone ios automatic-ref-counting nszombieenabled
Property vs. ivar in times of ARC

It is my understanding that setting an ivar now retains the object being assigned to it, since setting variables defaults …

objective-c properties automatic-ref-counting ivar
UIPopoverController dealloc getting called—ARC environment

While displaying a popover controller for a second time (after dismissing it and then re-displaying it), I get the following …

ios memory-management uipopovercontroller dealloc automatic-ref-counting
ARC Strong property Enumeration Error

I have the following code and am getting this error before compiling: Fast Enumeration Variables can't be modified in ARC …

objective-c properties automatic-ref-counting enumeration
Retain Cycle in ARC

I have never worked on non ARC based project. I just came across a zombie on my ARC based project. …

objective-c xcode automatic-ref-counting retain-cycle