title: NSTableView with NSCheckBox cells - how to intercept row selection?
body: <p>I have a <code>NSTableView</code> with cells that contain <code>NSCheckBox</code>. I'd like to change the behaviour of it so that any row in the table can be clicked and the checkbox in that row toggles on/off accordingly.</p>
  
  <p>I figured it can be done with</p>
  
  <pre><code>    func tableView(tableView: NSTableView, shouldSelectRow row: Int) -&gt; Bool {
  }
  </code></pre>
  
  <p>This method provides the index of the clicked row and I could use this to toggle the checkboxes from there on programmatically. But the problem is that the NSCheckBox intercepts mouse clicks on its row. Is there any way to disable this so that the rows can be clicked fully? Setting the enabled state of the <code>NSCheckBox</code> to false would allow this but it also greys out the checkbox and its title. </p>
  
  <p>EDIT:</p>
  
  <p>To clarify what I need: The (view-based) table cell view contains a checkbox. If a user clicks the checkbox, it toggles but when the row is clicked anywhere where no checkbox is, nothing happens. I want the row to be clicked and the checkbox toggles accordingly. So essentially I want the checkbox to be non-clickable and the table row to notify the checkbox inside it when the row is clicked.</p>