摘要:
Objective-C Reflection(Objective-C 反射机制)NSObject 方法除了个别例外,Cocoa 中大部分类都是 NSObject 的子类,因此大部分对象都继承了它所定义的方法。NSObject 提供了一些简单的查询运行时系统信息的方法:- (BOOL)isKindOfClass:(Class)aClass Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherit 阅读全文