Advanced Drawing Topics


In Chapter 13, you gained some basic knowledge of Cocoa’s key drawing concepts, such as using paths to describe shapes, copying images to the screen, and rendering text. In this chapter, we’re going to expand upon this, getting you comfortable with a few techniques that will bring your graphics to life. In the first section, we’ll show you how to make a view respond to mouse events, letting users interact with your customized views. In the second section, we’ll give you a brief introduction to Core Animation, an exciting technology that lets you create smooth animations with just a few lines of code.


Control Point Text Field Bezier Curve Controller Class Content View 


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