Change 'enter' key behaviour in NSTableView
问题 I'm trying to create a simple data entry application for the Mac (not iPhone). It has an NSTableView (inside an NSScrollView) which contains an NSTextField into which the user keys data, line by line. What I have so far is working okay, except that in order to actually be able to type anything into the text field, you have to press the 'Enter' key first. Then when you press the 'Enter' key at the end, the field leaves 'edit' mode, but the highlight just sits on the same row. Having to press