ylliX - Online Advertising Network Quick tip: UITableView - search when user stops typing - Yet Another Programmer's Blog

Quick tip: UITableView – search when user stops typing

In some cases, when you are using UITableView with UISearchBar you don’t want to filter you view immediately – f.e. when you’re fetching result from remote source, to achieve this, add UISearchBarDelegate to your view controller and just overload:

- (void)searchBarTextDidEndEditing:(UISearchBar *)searchBar

 

Leave a Reply