Requests permission to end editing.
- macOS 10.0+
The text object requesting permission to end editing.
true if the text object should proceed to finish editing and resign first responder status. If the delegate returns
false, the text object selects all of its text and remains the first responder.
NSMatrix method returns
false if the text field contains invalid contents; otherwise it returns the value passed back from
This method is invoked to let the
NSText respond to impending loss of first-responder status. This method’s default behavior checks the text field for validity; providing that the field contents are deemed valid, and providing that the delegate responds,
control(_: is sent to the receiver’s delegate (passing the receiver and
text as parameters).