Summary
This chapter completes the description of drawing facilities offered by Cocoa. The facilities for rendering images are extremely powerful. Cocoa also offers several interfaces for drawing text. Basic text drawing is described in this chapter. This basic interface is extremely low level. Chapter 11, “Text Views,” describes the NSText object suite that provides a high-level, text-rendering interface. Chapters 12, “Custom Views and Graphics Part I,” and 13, “Custom Views and Graphics Part II,” in combination with this chapter discuss custom NSView subclasses that draw. Custom drawing is one reason to subclass NSView. Customizing the handling of events such as mouse and keyboard input is another. Chapter 15, “Events and Cursurs,” discusses ...
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