zhuorantan / LocationPicker

A ready for use and fully customizable location picker for your app
MIT License
400 stars 79 forks source link

Ensure that the search results matches the current search term #14

Closed v-ken closed 7 years ago

v-ken commented 7 years ago

When user types quickly, the completion block of the search result may be called in different order, which causes the table view to be populated with incorrect results.

This fix ignores the completion result if the search text is different from what is in the search bar.