I'm studying memory managment in UIviewController, i'm a little confused, the important points to remember are:
- viewDidLoad is called every time the view is shown, here I alloc variables of any kind.
- viewDidUnload is called in case of low memory, I set all the property to nil.
- dealloc, I release all property.
Is it all right?
Also, if I don't link a label to a IBOutlet, have I a memory leak or the system dealloc it anyway?