Contents

NSTextInput

A set of methods that text views need to implement to interact properly with the text input management system.

Declaration

protocol NSTextInput

Overview

NSTextView and its abstract superclass NSText are the only classes included in Cocoa that implement NSTextInput. To create another text view class, you can either subclass NSTextView (and not NSText, for historical reasons), or subclass NSView and implement the NSTextInput protocol.