It is my understanding that setting an ivar now retains the object being assigned to it, since setting variables defaults to the strong
qualifier. Because ivars are in the scope of the object they are declared in and strong
retains objects within the scope of the variable, this means the ivars value would never be released while the object containing the ivar is still alive.
Is this correct?
If so, am I right in thinking that there is, in terms of memory management, no difference between a retaining (strong) property and a simple ivar anymore?
See Question&Answers more detail:os