I have always thought that calling [super viewWillAppear:animated]
is mandatory. But today I came across a piece of code from Apple's example application called CoreDataBooks
and here's viewWillAppear:
implementation from there:
- (void)viewWillAppear
{
[self.tableView reloadData];
}
Note there is no call to super. This confuses me a lot. If even Apple's code doesn't include call to [super viewWillAppear:]
then maybe I can always omit it? Or maybe there are certain rules about this matter? Can anybody explain it?