Block和GCD介绍
摘要:
Block Objectsblock object对比函数指针的好处:Block objects (informally, “blocks”) are an extension to C, as well as Objective-C and C++, that make it easy for programmers to define self-contained units of work. Blocks are similar to — but far more powerful than — traditional function pointers. The key differe 阅读全文
posted @ 2013-04-22 15:12 wacao 阅读(719) 评论(0) 推荐(0) 编辑