Instance Property


The object responsible for updating the contents of the search results controller.


weak var searchResultsUpdater: UISearchResultsUpdating? { get set }


Assign an object that adopts the UISearchResultsUpdating protocol. Use the methods of that protocol to search your content and deliver the results to your search results view controller. The object contained by the searchResultsUpdater property is often the view controller that is set during initialization.

See Also

Managing the Search Results

var searchBar: UISearchBar

The search bar to install in your interface.

var searchResultsController: UIViewController?

The view controller that displays the results of the search.

var isActive: Bool

The presented state of the search interface.