Instance Method

cancel()

Cancels an in-progress search operation.

Declaration

func cancel()

Discussion

If a search operation is currently in progress, this method attempts to cancels it. If cancellation is successful, the search completer does not notify its delegate. If no search operation is in progress, this method does nothing.

See Also

Cancelling the Query

var isSearching: Bool

A Boolean value indicating whether a search operation is in progress.