NSControl is an abstract superclass that provides three fundamental features for implementing user interface devices: drawing devices on the screen, responding to user events, and sending action messages. It works closely with the
- macOS 10.0+
About Delegate Methods
NSControl class provides several delegate methods for its subclasses that allow text editing, such as
NSMatrix. These include:
Note that although
NSControl defines delegate methods, it does not itself have a delegate. Any subclass that uses these methods must have a delegate and the methods to get and set it. In addition, a formal delegate protocol
NSControlTextEditingDelegate also defines delegate methods used by control delegates.