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