Drawing in Cocoa


By now you’ve learned lots of powerful Cocoa techniques for dealing with data, optimally arranging your application’s classes, and using the wide range of on-screen controls and other views that are included with Cocoa. Now it’s time for you to start learning how to use Cocoa to make your 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 you as a Cocoa programmer can help you achieve some of the same kinds of effects with a surprisingly small amount of effort on your part.


Font Size Text Field Menu Item Drawing Operation Current Color 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jack Nutting, David Mark and Jeff LaMarche 2010

Personalised recommendations