A great Swift class for managing asynchronous tasks that need to execute one after another. You just add tasks (as closures) to the queue and the queue takes care to execute them in the proper order.
As a bonus TaskQueue just makes using Grand Central Dispatch in Swift very very easy.
This is very useful for the cases you need to make a call to your API to fetch some data and then use the data to make another network call to perform a different operation. With TaskQueue this is very easy because you just schedule the network calls and the second one executes only when the first one has completed - and it's also very easy to pass data from the first to the second one.
The GitHub repo contains detailed code example, so just head there and read trough the example.
Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.