---
title: searchResultsUpdater
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uisearchcontroller/searchresultsupdater
---

# searchResultsUpdater

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

## Declaration

```swift
weak var searchResultsUpdater: (any UISearchResultsUpdating)? { get set }
```

## Discussion

Discussion 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’s set during initialization.

## See Also

### Managing the search results

- [searchBar](uikit/uisearchcontroller/searchbar.md)
- [searchResultsController](uikit/uisearchcontroller/searchresultscontroller.md)
- [isActive](uikit/uisearchcontroller/isactive.md)
