In an instance of an UIViewController
with ARC best practice would be to "release" any retained subviews of the main view (e.g. self.myOutlet = nil
) in - viewDidUnload
, and my guess is self.view = nil
isn't strictly necessary at this point.
What to do if an additional retain
ed property is defined and assigned as...
self.anotherProperty = self.view;
or
_anotherProperty = self.view; // assuming "_anotherProperty" is the ivar
... is self.anotherProperty = nil
necessary then?