============================================================
博文原创,转载请声明出处
电子咖啡(原id蓝岩)
============================================================
**** ^
What does the caret in objective C mean?
ie.
void (^handler)(NSInteger);
***
It depends on the context. In the example you show, it's used to denote a Block. The caret symbol is also the
bitwise XOR operator
in C-based languages — that's what most programmers would identify it as, so it's good to understand that it can be both depending on where it appears, much like
*
, etc.
**********