Who Should Read This Document
Organization of This Document
See Also
Text Views provides information about text views, the main user interface objects of the Cocoa text system. Text views handle user events to provide text entry and modification. Text views can display multiple lines of text laid out in paragraphs with all the characteristics of sophisticated typesetting.
You should read the information presented here if you need to understand what text views are and how they work.
The following documents describe text views:
“Text Fields, Text Views, and the Field Editor” introduces and compares the main user interface objects of the text system.
“Overview of Text Editing” provides a high-level view of the text editing mechanism and explains the message sequence that occurs when a text view receives a key event.
“Subclassing NSTextView” explains the responsibilities an NSTextView subclass must fulfill to interact successfully with the text system.
For more information, refer to the following documents:
Text System User Interface Layer Programming Guide for Cocoa describes text views in the context of the Cocoa text system. This document includes multiple articles discussing text views.
Text System Overview provides an overview of the Cocoa text system.
Text Input Management describes the classes that interact with each other to transmit input from the user’s keyboard or mouse to a text view.
© 1997, 2004 Apple Computer, Inc. All Rights Reserved. (Last updated: 2004-02-09)