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 ...

Get Pro iOS Table Views and Collection Views: Using Swift 2 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.