摘要:
In thefirst partof this series, we learned how to declare and call basic Objective-C blocks. The motivation was to understand how to effectively use t... 阅读全文
posted @ 2015-01-07 15:44
如来藏
阅读(193)
评论(0)
推荐(0)
摘要:
iOS 4 introduces one new feature that will fundamentally change the way you program in general: blocks. Blocks are an extension to the C language and ... 阅读全文
posted @ 2015-01-07 15:43
如来藏
阅读(177)
评论(0)
推荐(0)
摘要:
The aim of this tutorial is to give a gentle introduction to Objective-C blocks while paying special emphasis to their syntax, as well as exploring th... 阅读全文
posted @ 2015-01-07 15:25
如来藏
阅读(219)
评论(0)
推荐(0)
摘要:
Getting Started with BlocksDeclaring and Using a Block使用^操作符来声明一个block变量并且指明了block的开始。body在{}中如下的例子:int multiplier = 7;int (^myBlock)(int) = ^(int num... 阅读全文
posted @ 2015-01-07 11:06
如来藏
阅读(278)
评论(0)
推荐(0)

浙公网安备 33010602011771号