A class extension bears some similarity to a category, but it can only be added to a class for which you have the source code at compile time (the class is compiled at the same time as the class extension).类拓展和分类很相似,但是前提是你拥有原始类的源码,并且是在编译时被附加到类上的。(类和类扩...