Drawing in Cocoa
Jack Nutting, Peter E. Clark · Apress eBooks · 2013
By now we’ve learned lots of powerful Cocoa techniques for dealing with data, optimally arranging our application’s classes, and using the wide range of on-screen controls and other views that are included with Cocoa. Now it’s time to start learning how to use Cocoa to make our own view classes, gaining complete control over the display of text and graphics. Mac applications are commonly known for including “eye candy”—not just for drawing needless graphical flourishes, but also for creating a more immersive interactive experience for the user. The graphics technologies available to us as Cocoa programmers can help us achieve some of the same kinds of effects with a surprisingly small amount of effort on our part.