摘要: 分类(Category) 分类能够做到的事情主要是:即使在你不知道一个类的源码情况下,向这个类添加扩展的方法。 此外,分类能够保证你的实现类和其他的文件区分开。 1 #import “UIViewController.h” 2 @interface UIViewController(CustomVi 阅读全文
posted @ 2016-10-20 19:14 M·emor·Y 阅读(195) 评论(0) 推荐(0) 编辑