-
-
Save JanC/ae14d90ded8aa2f3e2a6 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
NSOperation *operation = [[NSOperation alloc] init]; | |
operation.completionBlock = ^{ | |
if (operation.isCancelled) { | |
// do something | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What can you tell about the following code snippet?