title: How do I perform a manual segue from within UITableViewCell?
body: <p>Throughout my code it's been necessary for me to perform manual segues, it's been working great and I use this code.</p>
  
  <pre><code>[self performSegueWithIdentifier:@"createToCaseSegue" sender:Nil];
  </code></pre>
  
  <p>The problem is, wanting to press a button <code>Choose User</code> within a UITableViewCell and this is providing me errors.</p>
  
  <p><img src="https://i.stack.imgur.com/M4zZn.png" alt="screenshot"></p>
  
  <p>And the error.</p>
  
  <p><img src="https://i.stack.imgur.com/c1Y7D.png" alt="error"></p>
  
  <p>I can understand why it's not working - I would need to call from the UIViewController to use <code>performSegueWithIdentifier</code>, but equally I don't know how to fix this.</p>
  
  <p>I thought I'd try some fixes, so I tried to Ctrl-Drag an action into the ViewController file instead of the TableCell file, but it gave me Storyboard compilation errors (I guess this makes sense - if I have multiple cells, then do all the button instances refer to the one action?). I had also thought of programatically finding the superview, but apparently this method varies for iOS 7, so it sounds difficult.</p>