Chapter 4. iPad Interface Elements
WHAT'S IN THIS CHAPTER?
Building a master-detail view using the UISplitViewController
Displaying informational messages using the UIPopoverController
Recognizing and reacting to various user gestures using the UIGestureRecognizer
Sharing files between the iPad and desktop machines with file-sharing support
In the previous chapter, you learned how to display your application data using the UITableView control. Then, you took that knowledge a step further by building custom cells, adding search and filter capabilities, and implementing indexes and section headers.
In this chapter, you learn about the interface elements and other features that are unique to the iPad. You will then apply this knowledge to build better data-driven applications.
You will explore the UISplitViewController and UIPopoverController, which you can use when building iPad applications. You will also learn how to use the new UIGestureRecognizer class and its subclasses to interpret user gestures. Finally, you will learn how to share files between the iPad and desktop computers using file-sharing support.
DISPLAYING MASTER/DETAIL DATA WITH THE UISPLITVIEWCONTROLLER
Quite often, when you're building a data centric application, you will want to show data in a master/detail format. For instance, in an address book application, the master view typically consists of a simple list of contact names. Selecting a contact from the list then presents the details for that contact such as address, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access