title: Perform unwind segue programmatically
body: <p>Currently I have the following storyboard:</p>
  
  <p><code>UITableViewController</code> -> <code>Segue</code> -> <code>UINavigationController</code> -> <code>Relationship</code> -> <code>UITableViewController</code></p>
  
  <p>In the last UITableViewController I added a back button with the code below:</p>
  
  <pre><code>navigationItem.setLeftBarButtonItem(UIBarButtonItem(title: "Back", style: UIBarButtonItemStyle.Plain, target: self, action: "unwind"), animated: true)
  
  let attributes = [NSFontAttributeName: UIFont.fontAwesomeOfSize(30), NSForegroundColorAttributeName: Constants.InterfaceColors.firstHighlightColor] as Dictionary!
  let unwindNavigationItem = navigationItem.leftBarButtonItem! as UIBarButtonItem
  
  unwindNavigationItem.setTitleTextAttributes(attributes, forState: .Normal)
  unwindNavigationItem.title = String.fontAwesomeIconWithName(FontAwesome.AngleLeft)
  </code></pre>
  
  <p>As far as I read I have to connect the File's owner to the exit in the storyboard. I found out, that this is only possible if you have an action in your controller code like the one below.</p>
  
  <pre><code>@IBAction func unwindToWeekOverview(segue: UIStoryboardSegue) {
          NSLog("unwind to week overview")
          dismissViewControllerAnimated(true, completion: nil)
      }
  </code></pre>
  
  <p>Since I don't now how to directly connect the action of a button to my unwind action I added the <code>unwind</code> function.</p>
  
  <pre><code>func unwind() {
          performSegueWithIdentifier("UnwindToWeekOverview", sender: self)
      }
  </code></pre>
  
  <p>When I now click the back button, the unwind function is called, but not the segue.
  What am I missing?</p>