I have an NSTableView that works correctly, unless I edit one of the elements in a table. If the user is still in edit mode and clicks the "Sheet OK" button, the table is not updated.
How to make tableview commit changes when the user clicks the ok button (close).
Also, how can I process an ESC key to cancel editing?
Sorry if the questions seem absurd, but I only deal with Mac development for a month.
source share