The Frontier logo The Frontier logo
Mikey Ward

Dispatch Groups

Mikey Ward | Nov 16, 2018

How to synchronize multiple tasks in iOS?

We demonstrate using Dispatch Groups to rendezvous multiple simultaneous asynchronous tasks so that you can process all of their results at once, after the last one finishes.

DispatchGroup - Dispatch | Apple Developer Documentation
Swift - Grand Central Dispatch and Multi Threading Tutorial on YouTube - good intro to threading if you need a primer