10. Working with Views

In the last chapter you learned about using view controllers and communicating between them. In this chapter you will learn how to create your own custom view. The concept of a photo album has already been introduced. Now it’s time to display photos, and a custom view is just what the doctor ordered.

Custom Views

UIKit provides an outstanding set of views that make it easier and faster to create iPad apps. However, there are times when your app’s UI needs more than what is provided by the SDK. This is where custom views come in. Creating a custom view is not difficult. In fact, it’s as easy as creating a new UIView subclass.

Why would you ever need to create a custom view? There are many reasons. The most common reason ...

Get Learning iPad Programming: A Hands-On Guide to Building iPad Apps with iOS 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.