I know that there are many questions on this subject. I have never worked on a project not based on ARC.
I have a strong and weak property as follows
@property(strong,nonatomic)NSArray *data1; @property(unsafe_unretained, nonatomic)NSArray *data2;
I have seen that in some places people explicitly do nil data in viewDidUnload.
i.e
-(void)viewDidUnload{ self.data1=nil; self.data2=nil; }
My question is: if I do not do this in my case (I mean, if I do not do data1 and data2 is zero
in viewDidUnload), will ARC automatically open objects?
source share