How to create a NSTextFieldCell, that in edit mode displays a custom view instead of NSTextField?
I have a tableView, with 3 columns containing NSTextFieldCell. Everything is populated with bindings. The text of the cells of one of the column is computed and is not editable directly. For this column, I would like when the cell goes into edit mode , to display a button or a custom view instead of the textField . Said in an other way, I want an NSCell that is a NSTextFieldCell when not being edited, and a NSButtonCell (or a custom view) when being edited. Any hint to move on to this? Here is what I tried, without success: Try #1 : I subclassed a NSTextFieldCell and override