A new iOS ViewControllers created from a template contains several "boilerplate" methods that call their parent class methods.
-(void) viewDidLoad {
[super viewDidLoad];
}
- (void) viewDidUnload {
[super viewDidUnload];
}
- (void) dealloc {
[super dealloc];
}
When modify these classes, should I put my own code before or after the parent class calls?
- (void) viewDidLoad {
// Should I put my code here?
[super viewDidLoad];
// Or here?
}