What is the minimum implementation required to create a custom NSView with an editable text area? I assume that you can use NSTextFieldCell for this. I managed to draw a cell in the view (which is straightforward), but editing it might require more complex coordination between the view and the cell. Is there somewhere code example?
Refresh. I should have made it clear that my long-term goal is to have many more editable text areas in the same view. AFAIU is better to use cells in this case, since they are lighter than full-size representations. My updated question is: what is the minimum implementation needed to create a custom NSView with an editable text area using the appropriate NSCell?
source
share