O'Reilly logo

The iPhone™ Developer’s Cookbook: Building Applications with the iPhone SDK by Erica Sadun

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Views

Pretty much everything that appears on the iPhone’s screen is a view. Views act like little canvases that you can draw on with colors, pictures, and buttons. You can drag them around the screen. You can resize them. You can layer them. In this chapter, you discover how to design and build screen content using Cocoa Touch and UIViews. You learn about view hierarchy, geometry, and animation, and find out how to combine event feedback from UITouches into meaningful UIView responses. There’s so much that UIViews can do that a single chapter has no hope of covering the entire class with the thoroughness it deserves. Instead, this chapter introduces essential functionality and recipes that you can use as a starting point for your own ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required