I've just started MacOS-programming from having done some iOS-programming, and am finding a lot of things that differ, especially on how to set up a tableview.
I've managed to set up a simple tableview and populate it via a plist using this tutorial: http://andrehoffmann.wordpress.com/2009/09/03/phonebook-tutorial-for-dummiesxcode-3-1-3/
However, I'm at a loss to how to register pressing a row/cell. In iOS I used the "didSelectRowAtIndex", but that's apparently not how to do it in MacOS.
So my question is: what's the equivalent of that function in macos? Or rather, is there perhaps a conversion-tutorial/docs anywhere? I've looked, but found nothing...
I've managed to set up a simple tableview and populate it via a plist using this tutorial: http://andrehoffmann.wordpress.com/2009/09/03/phonebook-tutorial-for-dummiesxcode-3-1-3/
However, I'm at a loss to how to register pressing a row/cell. In iOS I used the "didSelectRowAtIndex", but that's apparently not how to do it in MacOS.
So my question is: what's the equivalent of that function in macos? Or rather, is there perhaps a conversion-tutorial/docs anywhere? I've looked, but found nothing...