NSText protocol defines the methods that Cocoa text views must implement in order to interact properly with the text input management system.
- macOS 10.0+
NSText and its abstract superclass
NSText are the only classes included in Cocoa that implement
NSText. To create another text view class, you can either subclass
NSText (and not
NSText, for historical reasons), or subclass
NSView and implement the