You can watch this episode by subscribing to Cocoacasts Plus.

Mastering Grand Central Dispatch

Controlling Access With Dispatch Semaphores

Dispatch groups are a bit more advanced, but I hope the previous episodes have shown that they can be incredibly useful to manage complex tasks. The DispatchSemaphore class is another more advanced member of Apple's concurrency library. While there are some similarities between dispatch semaphores and dispatch groups, dispatch semaphores are more powerful and more versatile.

Purchase Course

Purchase Mastering Grand Central Dispatch and access it whenever you want and for as long as you want.

Join Cocoacasts Plus

Join Cocoacasts Plus and access every 350+ tutorials including Mastering Grand Central Dispatch.

Next Episode "Synchronizing Work With Dispatch Semaphores"