How can I get a nstableview to send an action when the user double-clicks an editable cell

Posted by overcyn on Stack Overflow See other posts from Stack Overflow or by overcyn
Published on 2010-05-22T23:11:55Z Indexed on 2010/05/22 23:20 UTC
Read the original article Hit count: 175

Filed under:
|
|

I am trying to emulate the behavior found in finder and itunes. Single click on a selected object edits it. Double click opens the object.

I have set the doubleAction of the tableView but like it says in the documentation. "If the double-clicked cell is editable, this message isn’t sent and the cell is edited instead." I dont want this. Is there a way i can get that message sent even if the cell is editable? I really have no idea how to begin implementing this. Any general pointers would be appreciated.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa