diff options
Diffstat (limited to 'VKPC/NSThread+Blocks.h')
-rw-r--r-- | VKPC/NSThread+Blocks.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/VKPC/NSThread+Blocks.h b/VKPC/NSThread+Blocks.h new file mode 100644 index 0000000..41398ce --- /dev/null +++ b/VKPC/NSThread+Blocks.h @@ -0,0 +1,14 @@ +// +// NSThead+Blocks.h +// VKPC +// +// Created by Eugene on 11/7/14. +// Copyright (c) 2014 Eugene Z. All rights reserved. +// + +@interface NSThread (BlocksAdditions) + +- (void)performBlock:(void (^)())block; +- (void)performBlock:(void (^)())block waitUntilDone:(BOOL)wait; + +@end |