- (void)viewDidAppear:(BOOL)animated {
<CODE BEFORE>
[super viewDidAppear:animated];
<CODE AFTER>
}
What is correct, to put all code before or after the super call ? Its working both ways, but I don't know if its better to wait for the call until the end or submit it at the beginning ?
cheers endo
The general rule of thumb is to call it first when setting things up (like here) and call it last when tearing things down.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With