title: When do you call the super method in viewWillAppear, viewDidDisappear, etc...?
body: <p>In <a href="https://developer.apple.com/documentation/uikit/uiviewcontroller" rel="nofollow noreferrer">UIViewController's documentation</a>, Apple suggests calling the super at some point in the implementation of viewWillAppear, viewDidAppear, viewWillDisappear, viewDidDisappear, etc... For example, the discussion on viewDidDisappear is:</p>
  
  <blockquote>
    <p>You can override this method to perform additional tasks associated
    with dismissing or hiding the view. If you override this method, you
    must <strong>call super at some point in your implementation</strong>.</p>
  </blockquote>
  
  <p>My question is does it matter <strong>when</strong> the super method is called and, if so, what is the correct time to call it? Should super be called as the first line of the method, the last line, or somewhere in the middle depending on your particular needs?</p>