NSEditor informal protocol is implemented by controllers and user interface elements. It provides a means for requesting that the receiver commit or discard any pending edits.
- macOS 10.3+
These methods are typically invoked on user interface elements by a controller. They can also be sent to a controller in response to a user’s attempt to save a document or quit an application.
NSController provides an implementation of this protocol, as do the Application Kit user interface elements that support binding.