How Do I Declare A Block in Objective-C?fuckingblocksyntax.com 5 pointssysworld13 years ago1 commentSaveHideCopy link On HNComments−hamstergene13yThe block type syntax is just standard pointer to function syntax of C with `*` replaced with `^`. Yes it's mind blowing, especially when `returnType` is another block, but anything else would be at least inconsistent and/or illogical.
Comments
The block type syntax is just standard pointer to function syntax of C with `*` replaced with `^`. Yes it's mind blowing, especially when `returnType` is another block, but anything else would be at least inconsistent and/or illogical.