Chapter 10

Improving the Cell’s Interaction

So far, the cells that you have been creating have been relatively static: the user’s interaction with them has been limited to tapping for selection and editing.

That’s not all you can do with cells, though, so this chapter looks at some of the tricks you can use to make the table view truly interactive:

  • Embedding custom controls including buttons, switches, and sliders within the cell
  • Implementing the widely used pull-to-refresh functionality
  • Adding gesture recognizers to cells to support double taps and so on
  • Adding swipe functionality to reveal hidden details
  • Implementing search within the table’s contents

No matter how interactive the table is, however, it’s not going to deliver a good user ...

Get Pro iOS Table Views for iPhone, iPad, and iPod Touch 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.