Created
January 29, 2018 21:28
-
-
Save olbrichj/dd08fd31f53a7924caca0f623913900e 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 TextOperation: AsyncOperation { | |
let text: String | |
init(text: String) { | |
self.text = text | |
} | |
override func execute() { | |
print(text) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment