title: Linking actions to buttons on a modal/popover segue (swift 2 Xcode 7)
body: <p>I'm sure I'm asking a simple question but I've only just started coding... so take pity on me!
  I'm trying to figure out how to connect buttons (actions) to the <code>viewController.swift</code> from a modal/popover segue (I think the solution is the class but whenever I change it I get an error). </p>
  
  <p>Eg. </p>
  
  <p>In the storyboard, on the <code>viewController</code> interface, I have a button for sharing files. When I click it, a popover segue appears with two buttons on it, one for Fb one for Twitter, but I can't connect any actions from them to the <code>viewController.swift</code></p>
  
  <p>In another project I made a Google+ login and connected it to a modal segue but I couldn't make that work either. </p>
  
  <p>Is segue the wrong thing to use?</p>
  
  <p>Thanks for your help!</p>
  
  <p>Marie</p>