Module: UISearchDisplayDelegate
Overview
This protocol defines delegate methods for UISearchDisplayController objects.Tells the delegate that the controller just hid its table view. Tells the delegate that the controller has loaded its table view. Tells the delegate that the controller just displayed its table view. Asks the delegate if the table view should be reloaded for a given scope. Asks the delegate if the table view should be reloaded for a given search string. Tells the delegate that the controller is about to hide its table view. Tells the delegate that the controller is about to display its table view. Tells the delegate that the controller is about to unload its table view. Tells the delegate that the controller has started searching. Tells the delegate that the controller has finished searching. Tells the delegate that the controller is about to begin searching.Tells the delegate that the controller is about to end searching.
Instance Method Summary (collapse)
-
- searchDisplayController:didHideSearchResultsTableView:
Tells the delegate that the controller just hid its table view.
-
- searchDisplayController:didLoadSearchResultsTableView:
Tells the delegate that the controller has loaded its table view.
-
- searchDisplayController:didShowSearchResultsTableView:
Tells the delegate that the controller just displayed its table view.
-
- searchDisplayController:shouldReloadTableForSearchScope:
Asks the delegate if the table view should be reloaded for a given scope.
-
- searchDisplayController:shouldReloadTableForSearchString:
Asks the delegate if the table view should be reloaded for a given search string.
-
- searchDisplayController:willHideSearchResultsTableView:
Tells the delegate that the controller is about to hide its table view.
-
- searchDisplayController:willShowSearchResultsTableView:
Tells the delegate that the controller is about to display its table view.
-
- searchDisplayController:willUnloadSearchResultsTableView:
Tells the delegate that the controller is about to unload its table view.
-
- searchDisplayControllerDidBeginSearch:
Tells the delegate that the controller has started searching.
-
- searchDisplayControllerDidEndSearch:
Tells the delegate that the controller has finished searching.
-
- searchDisplayControllerWillBeginSearch:
Tells the delegate that the controller is about to begin searching.
-
- searchDisplayControllerWillEndSearch:
Tells the delegate that the controller is about to end searching.
Instance Method Details
- (Object) searchDisplayController(controller, didHideSearchResultsTableView:tableView)
Tells the delegate that the controller just hid its table view.
- (Object) searchDisplayController(controller, didLoadSearchResultsTableView:tableView)
Tells the delegate that the controller has loaded its table view.
- (Object) searchDisplayController(controller, didShowSearchResultsTableView:tableView)
Tells the delegate that the controller just displayed its table view.
- (Boolean) searchDisplayController(controller, shouldReloadTableForSearchScope:searchOption)
Asks the delegate if the table view should be reloaded for a given scope. If you don’t implement this method, then the results table is reloaded as soon as the scope button selection changes.You might implement this method if you want to perform an asynchronous search: you would initiate the search in this method, then return NO, and reload the table when you have results.
- (Boolean) searchDisplayController(controller, shouldReloadTableForSearchString:searchString)
Asks the delegate if the table view should be reloaded for a given search string. If you don’t implement this method, then the results table is reloaded as soon as the search string changes.You might implement this method if you want to perform an asynchronous search. You would initiate the search in this method, then return NO. You would reload the table when you have results.
- (Object) searchDisplayController(controller, willHideSearchResultsTableView:tableView)
Tells the delegate that the controller is about to hide its table view.
- (Object) searchDisplayController(controller, willShowSearchResultsTableView:tableView)
Tells the delegate that the controller is about to display its table view.
- (Object) searchDisplayController(controller, willUnloadSearchResultsTableView:tableView)
Tells the delegate that the controller is about to unload its table view.
- (Object) searchDisplayControllerDidBeginSearch(controller)
Tells the delegate that the controller has started searching.
- (Object) searchDisplayControllerDidEndSearch(controller)
Tells the delegate that the controller has finished searching.
- (Object) searchDisplayControllerWillBeginSearch(controller)
Tells the delegate that the controller is about to begin searching.
- (Object) searchDisplayControllerWillEndSearch(controller)
Tells the delegate that the controller is about to end searching.