1.获取一个类的类名 OC: [AnyObject class] Swift:AnyObject.self 转载于:https://www.cnblogs.com/joezblog/p/5436060.html