Protocol

UISearch​Display​Delegate

Important: UISearch​Display​Delegate is deprecated in iOS 8. (Note that UISearch​Display​Controller is also deprecated.) To manage the presentation of a search bar and display search results in iOS 8 and later, instead use UISearch​Controller​Delegate.

Overview

This protocol defines delegate methods for UISearch​Display​Controller objects.

Symbols

Search State Change

func search​Display​Controller​Will​Begin​Search(UISearch​Display​Controller)

Tells the delegate that the controller is about to begin searching.

Deprecated
func search​Display​Controller​Did​Begin​Search(UISearch​Display​Controller)

Tells the delegate that the controller has started searching.

Deprecated
func search​Display​Controller​Will​End​Search(UISearch​Display​Controller)

Tells the delegate that the controller is about to end searching.

Deprecated
func search​Display​Controller​Did​End​Search(UISearch​Display​Controller)

Tells the delegate that the controller has finished searching.

Deprecated

Loading and Unloading the Table View

Showing and Hiding the Table View

Responding to Changes in Search Criteria

func search​Display​Controller(UISearch​Display​Controller, should​Reload​Table​For​Search:​ String?)

Asks the delegate if the table view should be reloaded for a given search string.

Deprecated
func search​Display​Controller(UISearch​Display​Controller, should​Reload​Table​For​Search​Scope:​ Int)

Asks the delegate if the table view should be reloaded for a given scope.

Deprecated

Relationships

Inherits From