title: Selecting UITableViewCell AccessoryView, separate from selecting row
body: <p>I have a <code>UITableview</code> that I'm displaying some tasks and each row has a checkbox to mark tasks complete or not.</p>
  
  <p>I'm looking to toggle the checkmark when the user taps on the checkbox, and switch to a detailed view when the user taps on the row. The latter is easy, just by using </p>
  
  <pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
  </code></pre>
  
  <p>However, I wanted to separate the selection areas, toggling only the checkbox when the <code>accessoryview</code> is selected, and going into detailed view only when the rest of the cell is selected. If I add a <code>UIbutton</code> inside the <code>accessoryview</code>, the user would be selecting the row AND the <code>UIButton</code> when they only wanted to hit the checkbox, right? </p>
  
  <p>Also, what if the user was just scrolling through the tableview by dragging along the <code>accessoryview</code>? Wouldn't this trigger an action on the <code>UIButton</code> on TouchUp?</p>
  
  <p>Anyone have any ideas on how to do this? Thanks for your time!</p>