The Surprising Intricacies of Editing Parts of NSTableView

Editing NSTableView
cells with a double-click is the default behavior. I wrote about how to make the column header cells editable already. But in order to figure out how to end an active editing session when the user hits ⌘S to save the document, I grew more and more disappointed by the day.
How to Edit NSTableView Headers with a Double-Click

When you work with view-based NSTableView
s, cells by default contain a NSTextField
. You can edit cell contents with them. The headers are not designed to be edited, though. You don’t have much control over the column headings from Interface Builder. So you have to build this yourself.