Somewhere I was reading that I would run into memory problems when I give up a view temporary due to an low memory warning (loading it again as soon as the user wants to see it), if theViewController class does not do things like this on every outlet of that view:
-(void)dealloc {
[myView release], myView = nil;
[myLabel release], myLabel = nil;
[super dealloc];
}
I am confused here, because actually I thought that [myView release] would also make the nil-thing, saying that variable holds no object anymore. Why twice? Or is there something I missed?