DispatchGroup notify before all leave called
I have an iOS application that runs multiple classes(every class in a separate thread) and I want to get a notification when all the class finishes their run. So I have a BaseClass: class BaseClass { var completeState: CompleteState init(completeState: CompleteState) { self.completeState = completeState self.completeState.dispatch.enter() } func start() { } } And this is… Read More DispatchGroup notify before all leave called