@implementation NSObject (PerformBlockAfterDelay)
- (void)performBlock:(void (^)(void))block afterDelay:(NSTimeInterval)delay {
block = [block copy];
[self performSelector:@selector(fireBlockAfterDelay:) withObject:block afterDelay:delay];
}
- (void)fireBlockAfterDelay:(void (^)(void))block {
block();
}
@end