Daily iOS
ConcurrencyFlipkart

Search debounce

Calling the API on every keystroke in a search field floods it with requests. Can you implement a debounce with GCD yourself, so the call only fires when there's been no further input for 300ms after the last keystroke?

Submit