Created
January 6, 2019 13:13
-
-
Save dimohamdy/a97940bfe86a7c0e66e4104c6ec776b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let queue = OperationQueue() | |
queue.maxConcurrentOperationCount = 1 | |
queue.addOperations([op1,op2,op3], waitUntilFinished: true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment