Remote data search with UISearchBar
I need to get remote data when I search a TableView using the SearchBar.
What are the best practices for this?
My concern is that if I send a new HTTP request each time the user changes the search bar's value, I could end up blocking the application because too many HTTP requests are being made, but also if I have many requests, it's also possible for an older request to lag and arrive after a newer request, so the results won't be very stable.
How would you perform remote data requests from a search bar effectively ?
Thanks
|