Hello all , I think i am missing somthing with property attributes. first i cant understand the different between retain and assign?
If i use assign does the property increase the retain counter by 1 to the setter and also to the getter, and i need to use release to both of them?
and how this work with readwrite or copy? from the view of retain count.
I am trying to understand when i need to use release after working with property(setter and getter)
@property (readwrite,assign) int iVar; what does assing do here??
what is the different between : @property (readwrite,assign) int iVar; to @property (readwrite,retain) int iVar; to @property (readwrite) int iVar;
many thanks...