The Frontier logo The Frontier logo

If you like this video, join The Frontier now.

Mikey Ward

Dispatch Groups

Mikey Ward | Nov 10, 2017

How do 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