A table view is a common way to present the results of a search performed through a search field (a UISearchBar; see Chapter 25). This is such a standard interface, in fact, that a class is provided, UISearchDisplayController, to mediate between the search field where the user enters a search term and the table view listing the results of the search. The UISearchDisplayController needs the following things:
searchContentsController. The UISearchDisplayController will harness this view controller’s view and present its table of results modally on top of it.
searchResultsTableView. It can already exist, or the UISearchDisplayController will create it.
searchResultsDelegate. They will control the data and structure of the search results table. They are commonly the same object, as for any table view; moreover, they are commonly the view controller.