Ok, I have a completely n00b question...
When I'm done with a view, how do I delete it completely so that it does not continue to occupy memory?
I'm thinking it's like this...
Apple's documentation mentions that "the receiver is also released." Does that mean that you do not need to "release" the object after removing it from the superview?
Thanks!
When I'm done with a view, how do I delete it completely so that it does not continue to occupy memory?
I'm thinking it's like this...
Code:
[view1 removeFromSuperview];
[view1 release];
Apple's documentation mentions that "the receiver is also released." Does that mean that you do not need to "release" the object after removing it from the superview?
Thanks!