Showing posts with label arc. Show all posts
Showing posts with label arc. Show all posts

Monday, February 27, 2012

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 here. This is the code I'm using:

Sunday, January 15, 2012

How do I verify reference count in ARC mode?


I used to verify that same of my variable haves the expected retain count using some [myVar retainCount] under the debugger, especially for var that did not have a custom dealloc.