Make a table row's text editable immediately

Posted by Ricky on Stack Overflow See other posts from Stack Overflow or by Ricky
Published on 2009-11-29T01:47:05Z Indexed on 2010/04/06 22:03 UTC
Read the original article Hit count: 204

Filed under:
|

I have an NSTableView in my user interface, where new rows are added when the user presses a button or keyboard shortcut. Each row consists of two text cells (the table is comprised of two columns). Is there a way to immediately select the first text cell of a new row which is added?

So, basically, I would like the user to be able to press the button, adding a new row to the table and then having it editable straight away.

© Stack Overflow or respective owner

Related posts about nstableview

Related posts about cocoa