class DataTableSeachDelegate

Attributes

parent[RW]

Public Instance Methods

updateSearchResultsForSearchController(search_controller) click to toggle source

UISearchResultsUpdating protocol method

# File lib/project/pro_motion/data_table_search_delegate.rb, line 15
def updateSearchResultsForSearchController(search_controller)
  search_string = search_controller.searchBar.text
  parent.dt_searchDisplayController(search_controller, shouldReloadTableForSearchString: search_string) if @_data_table_searching
end
willDismissSearchController(search_controller) click to toggle source
# File lib/project/pro_motion/data_table_search_delegate.rb, line 10
def willDismissSearchController(search_controller)
  parent.dt_searchDisplayControllerWillEndSearch(search_controller)
end
willPresentSearchController(search_controller) click to toggle source

UISearchControllerDelegate methods

# File lib/project/pro_motion/data_table_search_delegate.rb, line 6
def willPresentSearchController(search_controller)
  parent.dt_searchDisplayControllerWillBeginSearch(search_controller)
end