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