Open alexanderwe opened 4 years ago
Luckily, the Timing API allows passing a search query: https://web.timingapp.com/docs/#return-a-list-of-tasks
In case you want to implement find-as-you-type, I would suggest throttling requests a bit (i.e. not send a request after each key press), to avoid overloading the API.
Throttling requests should be easy with Combine. I plan to use .debounce(for: .milliseconds(500), scheduler: SomeScheduler)
in the publisher chain for searching tasks
As a user it would be good to have search bar where single tasks can be searched.