Understanding DispatchGroups in Swift Language

preview_player
Показать описание
In this video, Mohammad Azam will demonstrate how to use DispatchGroups in Swift Language.

#iosdeveloper, #iosdev, #swiftlang, #swiftprogramming

If you want to support my work then please consider buying one of my courses below. The links below already have coupons attached which will give you the best deal possible. Thank you for your support!

Buy me a cup of coffee

GraphQL with iOS and SwiftUI: The Complete Developers Guide

Passive Income for Developers

Core Data in iOS

Flutter and Firebase - Build Real World iOS and Android Apps

Writing Clean Code

The Complete Hands-On SwiftUI Apps Using Firebase

Composable SwiftUI Architecture Using Redux

MVVM Design Pattern in SwiftUI

Server Side Swift Using Vapor 4

Testing iOS Apps - Behavior Driven Development Using Swift

Machine Learning and Artificial Intelligence Using Swift

SwiftUI - Declarative Interfaces for any Apple Device

Flutter and Dart - Build Apps Using MVVM Design Pattern

Mastering RxSwift in iOS

MVVM Design Pattern Using Swift in iOS

Mastering ARKit for iOS

Intermediate and Advanced iOS - Build Real World Apps

The Complete Guide to JSON Parsing in Swift

Data Structures and Algorithms in Swift

Design Patterns in iOS Using Swift

Mastering MapKit for iOS

Machine Learning in iOS Using Swift

Mastering Firebase for iOS Using Swift

Mastering Server Side Swift Using Vapor 3

NodeJS - The Complete Developer Bootcamp

The Complete Guide to Lean Controllers in iOS
Рекомендации по теме
Комментарии
Автор

Thank you for sharing your experience, this video helped me a lot

KrazyJames
Автор

It's like a STACK.
When you call group.enter, you are adding 1 to a stack, calling group.leave removes one.
The group is initialized to 0, and after entering/leaving when the stack has 0 in again, the notify is called.

danielcrompton
Автор

Another approach would be to use combine and merge publishers.
this way will also allwo you to call in parallel and not sequencial

MrDonhekel