Top "Retain" questions

Retain/release of returned objects

I am new to Objective-C, so this might be a dumb question. I cannot help but see the similarities between …

objective-c memory-management retain
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
iOS 4 blocks and retain counts

I'm just getting started with blocks and Grand Central Dispatch. I've been told (and read in the Apple Documentation) that …

iphone memory-management ios4 retain objective-c-blocks
sent to deallocated instance

Whenever I push a view controller onto my stack, then pop it off, I get this error: *** -[CALayer retainCount]: …

iphone objective-c calayer retain
Release a retain UIImage property loaded via imageNamed?

In my class object i've defined a (nonatomic, retain) property for UIImage. I assigned this property with an image loaded …

iphone uiimage release retain
Why retain a static variable?

Isn't it unnecessary to retain a static variable since it stays around for the duration of the program, no matter …

objective-c memory-management retain static-variables