DispatchGroup, Combine, and UrlSession
I ran into a bug a couple weeks ago at work that was quite interesting. We’re using a DispatchGroup and DispatchGroup.notify to stop our pull to refresh animation once all the microservices come back with results.
Our QA team caught an issue where if you to a pull to refresh and then background the app it crashes. Of course you can’t simulate the error, it has to be on a physical device.
[Read More]