I am trying to add instant search functionality to my existing controller using UISearchBar or UISearchController
When the user enters 3 characters in the searchbar , you should start searchbar data and show it in the table view. To do this, I added an API call for the searchBar delegate, but it takes time to get the data, and the user starts entering data again, every time the user enters a character, he gets one api.
What approach should we follow to achieve this?
Is there a good library or open source?
source share