Milad
Milad

Reputation: 1269

should I write [super viewDidLoad]?

I'm writing a navigation based app. (it has modal segues too) I'm not sure if I should keep [super viewDidLoad]; call or not. should I write code after this line of code or before it? how about [super viewDidUnload]; and similars?

Upvotes: 0

Views: 143

Answers (1)

user529758
user529758

Reputation:

You don't have to; according to the documentation, it's a stub function, so it doesn't do anything useful in non-subclasses.


Moral: always read the docs.

Upvotes: 0

Related Questions