© Kevin Languedoc 2016

Kevin Languedoc, Build iOS Database Apps with Swift and SQLite, 10.1007/978-1-4842-2232-4_9

9. Searching for Records in SQLite

Kevin Languedoc

(1)Montreal, Canada

This chapter doesn’t show any new SQLite APIs. Rather, it focuses on how you can use the SQLite APIs to create an iOS iPhone app for searching for records in a SQLite database. In this chapter, we will explore the following:

  • Creating an iOS app

  • Creating a SQLite database

  • Adding the Search function

  • Developing the UI for searches

  • Searching for records

  • Displaying search results

  • Developing a UISearchBar iPhone app

The Search App

This tutorial demonstrates how to use the SELECT statement to search for content in a database using the UISearchBar and display the results in a

Get Build iOS Database Apps with Swift and SQLite now with O’Reilly online learning.

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