Cocoa's text system contains a rich set of features such as text input, layout, display, editing, copying and pasting, and font management. It also includes support for advanced typesetting features such as kerning and ligature, multilingual support with Unicode, and sophisticated layout capabilities.
This chapter discusses the primary classes of Cocoa's text handling system and how they relate to one another. Figure 5-1 shows the hierarchy of classes related to the text system.