TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
How Do I Declare A Block in Objective-C?
5 points
by
sysworld
over 11 years ago
1 comment
hamstergene
over 11 years ago
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.