TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
How Do I Declare A Block in Objective-C?
5 点
作者
sysworld
超过 11 年前
1 comment
hamstergene
超过 11 年前
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.