Summary

In this chapter, we learned that drawing in color with Quartz is nearly as easy as drawing in black and white. Then we saw how easy it is to improve the functionality of a well-designed class through subclassing. Finally, we showed another way to use the tag facility with the display list to change the color attributes for a set of objects.

In the next chapter, we’ll learn more about NSViews — specifically, we’ll see how to put any view in a scroller and how to add a pop-up magnification control. We’ll also show how to subclass the ColorGraphView class to handle mouse tracking.

Get Building Cocoa Applications: A Step by Step Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.