title: Custom event handling in Objective-c
body: <p>I need to call a block on [cmd+double-click] event from NSTableView. I know about the <strong>-setDoubleAction:</strong> API to set the selector for the double-click event &amp; <strong>-keyDown:</strong> delegate method for handling key press events.</p>
  
  <p>What I need is kind of a combination of these 2 in a single customised event handler. Any pointers would be really appreciated. </p>
  
  <p>Is there any way to register for such a custom event setting a callback selector?</p>