可以动态的为已有的类添加方法当不能 (不需要创建子类) objective-catagory 类+分类名 ===》 name+Fenlei name (fenlei)[分类] 转载于:https://www.cnblogs.com/xiezefeng/p/5207691.html