I need my application to open a window when a user double clicks on a row in an NSTableView
. I'm having a bit of a difficult time finding information or examples on how to accomplish this. Can anybody point me in the right direction?
views:
1409answers:
1
+12
A:
Take a look at the -setDoubleAction:
method on NSTableView; you can set that to a method that will be called just like the normal target-action system but on a double-click.
In that action method, -clickedRow
will be useful.
Jim Puls
2009-03-06 22:18:18
Is there a way to connect this via IB?
Ivan Vučica
2010-09-20 17:30:09