摘要: 苹果官方文档:不稳定的传送门读书笔记共有以下几篇,其他的知识点不重要或者已经熟悉不需记录《Programming with Objective-C》第三章 Working with Objects《Programming with Objective-C》第四章 Encapsulating Data... 阅读全文
posted @ 2015-10-27 17:58 Norcy 阅读(428) 评论(0) 推荐(0) 编辑
摘要: Blocks are Objective-C objects, which means they can be added to collections like NSArray or NSDictionary.Block语法——无参数版本定义(Block的值)^{ NSLog(@"This ... 阅读全文
posted @ 2015-10-27 17:24 Norcy 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Object和普通变量的区别If you’re used to using terms like the stack and the heap, a local variable is allocated on the stack, while objects are allocated on th... 阅读全文
posted @ 2015-10-27 13:34 Norcy 阅读(305) 评论(0) 推荐(0) 编辑