Begins editing of the receiver’s text using the specified field editor.
- macOS 10.10+
The bounding rectangle of the control’s cell.
The field editor to use.
The object to use as a delegate for the field editor. This delegate object receives various
NSTextdelegation and notification methods during the course of editing the cell's contents.
NSLeftevent that initiated the editing behavior.
For a receiver that is a control with editable text (such as an
NSText object), the field editor is sized to
a and is then activated and editing begins. It’s the responsibility of the delegate to end editing when responding to
control(_:. Upon ending the editing session, the delegate should remove any data from the field editor.