Chapter 3

Displaying Your Data: The UITableView

WHAT’S IN THIS CHAPTER?

  • Customizing the table view by creating your own table view cells
  • Searching and filtering your result sets
  • Adding important UI elements, such as indexes and section headers, to your tables
  • Avoiding and troubleshooting performance issues with your table views

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118391845 on the Download Code tab. The code is in the Chapter 3 download and individually named according to the names throughout the chapter.

The focus of the book thus far has been on how to get your data onto the device and how to access that data on the device. This chapter focuses on how you can enhance the display of your data by customizing the table view cell. It also examines how to make your data easier to use by adding an index, section headings, and search functionality to the UITableView. In the next several sections, you take a closer look at how to use the table view to display your data in ways that make it more useful to your target audience.

CUSTOMIZING THE TABLE VIEW

You begin by looking at the default table view styles that are available in the iOS SDK. Then you learn the technique of adding subviews to the content view of a table view cell. If neither of these solutions meets your needs for customizing the display of your data, you will examine how to design your own table view cell from scratch using ...

Get Professional iOS Database Application Programming, 2nd Edition 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.