I have a custom NSTableView
subclass filled with several custom NSTextFieldCell
subclasses. I would like to be able to change the edited cell by using
The answer to the more general title of this question can be found in this answer: https://stackoverflow.com/a/8865953/43615
Basically, one subclasses NSTextFieldCell
and overrides fieldEditorForView:
, where one simply creates a custom subclass of NSTextView
and sets its fieldEditor
property to YES
.