endEditing(_:)
Ends the editing of text in the receiver using the specified field editor.
Declaration
func endEditing(_ textObj: NSText)Parameters
- textObj:
The field editor currently handling the editing of the cell’s content.
Discussion
Ends any editing of text that began with a call to edit(withFrame:in:editor:delegate:event:) or select(withFrame:in:editor:delegate:start:length:).