O'Reilly logo

Pro iOS Table Views and Collection Views: Using Swift 2 by Tim Duckett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    12

Selecting and Editing Content

Although some situations can be handled with read-only tables or collection views, you don’t need to look too far to find others where tables need to be adaptable. Building tables that can handle selection and rearrangement—and can insert, update, and delete new rows—is a common requirement.

In this chapter, you’ll look at

  • How to handle selection of rows in your tables, or cells in your collection views
  • How tables and collection views can be built to handle rearrangement of their data
  • How tables and collection views can be used to create, edit, update, and delete items from their underlying data models
  • Adding custom menus to collection views

A Recap of the Model-View-Controller Pattern

Before getting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required