Member-only story

Parallel Programming with Operation and OperationQueue in Swift

Simultaneous Operations

Steven Curtis
7 min readAug 10, 2020
Photo by Sharon McCutcheon on Unsplash

You might have read my previous article on GCD, and want to explore the higher-level tools at your disposal in Swift.

You might want a deep-five into those higher-level tools. If you do, this is the article for you!

Welcome to the article!

Difficulty: Beginner | Easy | Normal | Challenging
This article has been developed using Xcode 11.5, and Swift 5.2.4

Prerequisites:

Terminology

Queue: A data structure in which elements are removed in the same order in which they were entered Operation: A class representing a single task. As an abstract class you should subclass it, or us NSInvocationOperation or BlockOperation to perform the task. Operations are performed one time and cannot be executed…

--

--

No responses yet