title: Tap on Cell Accessory
body: <p>I have a UITableView with custom cells. Usually when the user taps the cell, it triggers this function:</p>
  
  <pre><code>func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { 
       //Segue to another view
  }
  </code></pre>
  
  <p>If in that view they mark the cell as finished, when they return the code will add the standard check accessory.</p>
  
  <p>When the cell isn't finished, I'd like an empty check that can be tapped (I know I can add a custom image accessory), with the tap allowing the user to skip the segue and quickly mark the cell as finished. But I can't seem to make both work:</p>
  
  <ol>
  <li>Tapping on the main body of the cell should call didSelectRowAtIndexPath</li>
  <li>Tapping on the accessory view (empty check mark) should call a different set of code. </li>
  </ol>
  
  <p>I've tried accessoryButtonTappedForRowWithIndexPath but it doesn't seem to even get called. </p>
  
  <pre><code>func tableView(tableView: UITableView, accessoryButtonTappedForRowWithIndexPath indexPath: NSIndexPath) { 
       //Shortcut code to change the cell to "finished"
  }
  </code></pre>
  
  <p>Is it possible to have clicking on the main body trigger one set of code and clicking on the accessory view trigger another? If so, how?</p>