摘要:
6、获取一个类的所有方法:u_int count; Method * methods = class_copyMethodList([CustomClass class], &count); for (int i = 0; i < count; i++) { SEL name ... 阅读全文
摘要:
创建公共类:@interface CustomClass : NSObject- (void) fun1;@end@implementation CustomClass-(void)fun1{ NSLog(@"fun1");}@end@interface TestClass : NSObject@... 阅读全文