AceMobileInterview

iOS track

General topic questions

OperationQueue

MediumCommon

Free section · general topics & algorithms

When is OperationQueue preferable to raw GCD?

Reveal model answer
When you need dependencies, cancellation of work units, maxConcurrentOperationCount, or KVO progress. GCD is lighter for simple fire-and-forget; Operations model richer workflows.
Protocol ExtensionsCombine vs Async