Chapter 4. More User Interface Fun

In Chapter 3, we discussed the Model-View-Controller concept and built an application that brought that idea to life. You learned about outlets and actions and used them to tie a button control to a text label. In this chapter, we're going to build an application that will take your knowledge of controls to a whole new level.

We'll implement an image view, a slider, two different text fields, a segmented control, a couple of switches, and an iPhone button that looks more like, well, an iPhone button. You'll learn how to use the view hierarchy to group multiple items under a common parent view and make manipulating the interface at runtime easier. You'll see how to set and retrieve the values of various controls, ...

Get Beginning iPhone Development: Exploring the iPhone SDK now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.