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:

 

Leave a Reply