Get notification when NSOperationQueue finishes all tasks
Use KVO to observe the operations property of your queue, then you can tell if your queue has completed by checking for [queue.operations count] == 0. Somewhere in the file you’re doing the KVO in, declare a context for KVO like this (more info): static NSString *kQueueOperationsChanged = @”kQueueOperationsChanged”; When you setup your queue, do … Read more