摘要: Blocks objects are c-based language feature that you can used in C/C++ or objective-C code.A block is actually represented by an underlying data structure that resembles an object and is created and managed for you by the compiler.The compiler packages up the code you provide (along with any related 阅读全文
posted @ 2012-02-02 13:34 Kalou 阅读(183) 评论(0) 推荐(0) 编辑
摘要: All dispatch queues are first-in,first-out data structures.Types of dispatch queues:serial (as private dispatch queues)concurrent (as global dispatch queue)main dispatch queueAdvantage:The most advantage is the simplicity of the work-queue programming model.Dispatch queues let you focus on the work 阅读全文
posted @ 2012-02-02 11:58 Kalou 阅读(185) 评论(0) 推荐(0) 编辑