Last active
February 11, 2016 05:23
-
-
Save zadr/64e69af3bc18cb0b81e4 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
- (void) performMagic:(Incantation) incantation interruptingCurrentSpell:(BOOL) immediately { | |
switch ((int)immediately) { | |
case NO: | |
[self _magic:incantation]; | |
break; | |
default: | |
dispatch_async(wand_queue, ^{ [self _magic:incantation]; }); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment