---
title: MKLocalSearchCompleterDelegate
framework: mapkit
role: symbol
role_heading: Protocol
path: mapkit/mklocalsearchcompleterdelegate
---

# MKLocalSearchCompleterDelegate

Methods the delegate calls with search completion data.

## Declaration

```swift
protocol MKLocalSearchCompleterDelegate : NSObjectProtocol
```

## Overview

Overview You use this protocol when implementing an autocomplete solution for a map in your app. As the user types search terms, use an MKLocalSearchCompleter object to start searching for valid completions. The delegate you assign to that object needs to conform to this protocol. As it receives completions, the local search completer calls the methods of this protocol to deliver the results.

## Topics

### Getting the search results

- [completerDidUpdateResults(_:)](mapkit/mklocalsearchcompleterdelegate/completerdidupdateresults(_:).md)
- [completer(_:didFailWithError:)](mapkit/mklocalsearchcompleterdelegate/completer(_:didfailwitherror:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Receiving the search results

- [delegate](mapkit/mklocalsearchcompleter/delegate.md)
