摘要: instancetype: 使用 instancetype 编译器和IDE 会做类型检查,而id不会做完整的类型检查。A method with a related result type can be declared by using the typeinstancetypeas its result type.instancetypeis a contextual keyword that is only permitted in the result type of an Objective-C method, e.g.上面的话的意思:instancetype 是一个关键字,它只能用来 阅读全文
posted @ 2014-02-11 17:37 Jieson Wu 阅读(438) 评论(0) 推荐(1)