Protocol

UISearchResultsUpdating

A set of methods that let you update search results based on information the user enters into the search bar.

Topics

Updating the Search Bar

func updateSearchResults(for: UISearchController)

Called when the search bar becomes the first responder or when the user makes changes inside the search bar.

Required.

Relationships

Inherits From

See Also

Search Interface

class UISearchContainerViewController

A wrapper for search results that you want to embed in a container view controller.

class UISearchBar

A text field–like control that supports text-based searches.

protocol UISearchBarDelegate

A collection of optional methods that you implement to make a search bar control functional.

class UISearchController

An object that manages the display of search results based on interactions with a search bar.