in some cases, the order does not matter. in others, the order is critical.
Some generalizations that will help:
- When you create a part of the state of the object (
viewDidLoadand init...), first call super. - when you destroy part of the state of an object (
viewDidUnloador dealloc), call superlast. - , ,
super .