Design Element
Comment on "New Objective-C Tutorial"
by Joe — May 28
Sorry, that's not right is it?
I didn't understand why retain would be called over and over.

So, does including retain in the property declaration mean that the autorelease > retain sequence will be synthesized? or is that synthesized by default? in which case, what would retain do?

Specifically, I'm having trouble understanding the difference between retain and assign in property declarations.

I've looked at the documentation on this several times, and it's kind of vague (for me).
Back to "New Objective-C Tutorial"
Design Element

Copyright © Scott Stevenson 2004-2015