title: Use Navigation Controller as sender
body: <p>I have a Custom Back Button:</p>
  
  <pre><code>let backButton = UIBarButtonItem(title: "&lt;", style: UIBarButtonItemStyle.Plain, target: self, action: "goBack")
  </code></pre>
  
  <p>which calls: </p>
  
  <pre><code>func goBack() {
    self.navigationController?.popToRootViewControllerAnimated(true)
  }
  </code></pre>
  
  <p>This works but it is quite clumsy. I don't want to make a method that is already a method of navigationcontroller. Why can't I just make the sender navigationController and set the action as popToRootViewControllerAnimated(true)</p>
  
  <pre><code>let backButton = UIBarButtonItem(title: "&lt;", style: UIBarButtonItemStyle.Plain, target: navigationController!, action: "popToRootViewControllerAnimated(true)")
  </code></pre>