Sha256: 77357bc883a42a2947694c5fa254e8d21c260bbe066f5febc4a444b79b7e1ef7

Contents?: true

Size: 574 Bytes

Versions: 11

Compression:

Stored size: 574 Bytes

Contents

/* cocos2d for iPhone
 *
 * http://www.cocos2d-iphone.org
 *
 *
 * Idea taken from: http://stackoverflow.com/a/3940757
 *
 */

#import <Foundation/Foundation.h>

@interface NSThread (sendBlockToBackground)
/** performs a block on the thread. It won't wait until it is done. */
- (void) performBlock:(void (^)(void))block;

/** performs a block on the thread. */
- (void) performBlock:(void (^)(void))block waitUntilDone:(BOOL)wait;

/** performs a block on the thread. */
- (void) performBlock:(void (^)(id param))block withObject:(id)object waitUntilDone:(BOOL)wait;

@end

Version data entries

11 entries across 7 versions & 1 rubygems

Version Path
joybox-1.1.1 vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/NSThread+performBlock.h
joybox-1.1.1 vendor/vendor-ios/cocos_2d/cocos_2d_include/Support/NSThread+performBlock.h
joybox-1.1.0 vendor/vendor-ios/cocos_2d/cocos_2d_include/Support/NSThread+performBlock.h
joybox-1.1.0 vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/NSThread+performBlock.h
joybox-1.0.0 vendor/vendor-ios/cocos_2d/cocos_2d_include/Support/NSThread+performBlock.h
joybox-1.0.0 vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/NSThread+performBlock.h
joybox-0.0.6 vendor/vendor-osx/cocos_2d/cocos_2d_include/Support/NSThread+performBlock.h
joybox-0.0.6 vendor/vendor-ios/cocos_2d/include/Support/NSThread+performBlock.h
joybox-0.0.5 vendor/Cocos2D/include/NSThread+performBlock.h
joybox-0.0.4 vendor/Cocos2D/include/NSThread+performBlock.h
joybox-0.0.3 vendor/Cocos2D/include/NSThread+performBlock.h