Testing Some CSS Stuff... nothing to see here
typedef void (^MyBlock)(void);
MyBlock inBlock = ^{
for (int i = 0; i < 10; i++) {
NSLog(@"Doing Something with... %i",i);
}
}; //<-- remove this semicolon here...
inBlock(); //<-- ..and clang says it's missing a ';' here

0 comments:
Post a Comment