Created
January 29, 2018 21:29
-
-
Save olbrichj/1a037603afb59b3b0897179a4f4a3a74 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import Foundation | |
class HelloWorldOperation: GroupOperation { | |
override init() { | |
super.init() | |
let op = TextOperation(text: "Hello") | |
let op2 = TextOperation(text: "World") | |
op2.addDependency(op) | |
operations = [op2, op] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment