Summary
Few Cocoa applications need the full range of features and customization options that Cocoa’s text system provides. The objects on Interface Builder palettes are extremely powerful, even in their default configuration; however, enough information was presented in this chapter to enable very sophisticated use of Cocoa’s text system. The MVC architecture used to implement the text system makes it possible to customize parts of the system without affecting other parts. The examples provided show the most common ways the text classes are used, and the hooks needed to customize the text system.
The next chapter, “Custom Views and Graphics Part I,” describes how to create custom subclasses of NSView and implement custom drawing features. All ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access