In C/Obj-C, we do a typedef like this typedef int MYINT;
which is clear.
Doing typedef for a block -typedef void (^MyBlock) (int a);
Now, we can use MyBlock
.
Shouldn't it be like - typedef void (^MyBlock) (int a) MyBlock;
similar to #define
?
How the syntax works?