Handles an end of editing.
- macOS 10.0+
The notification that editing has ended.
After validating the new value, posts an
text to the default notification center. This posting causes the receiver’s delegate to receive a
control message. After this message, sends
end to the receiver’ cell and handles the key that caused editing to end:
If the user ended editing by pressing Return, this method tries to send the receiver’s action to its target; if unsuccessful, it sends
NSView(for example, to handle the default button on a panel); if that also fails, the receiver simply selects its text.
If the user ended editing by pressing Tab or Shift-Tab, the receiver tries to have its
NSWindowobject select its next or previous key view, using the
select. If unsuccessful in doing this, the receiver simply selects its text.
NSControl class specification for more information on the text delegate method.