O'Reilly logo

Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition by Tim Roadley

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

12. Search

The measure of intelligence is the ability to change.

Albert Einstein

In Chapter 11, “Background Processing,” the execution of background tasks such as save, import, and thumbnail creation was demonstrated. This brief chapter implements search on the PrepareTVC table view of the Prepare tab. Search results have the same sectioning and sort order as the PrepareTVC table view so that it looks like search results are filtered in place. This functionality is added in such a way that it is easy to enable search on any table view, with only minor updates required. This flexibility is achieved by implementing as much of the search functionality into the underlying CDTableViewController as possible.

To add search to a table view, you need ...

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