摘要:
6、获取一个类的所有方法:u_int count; Method * methods = class_copyMethodList([CustomClass class], &count); for (int i = 0; i < count; i++) { SEL name ... 阅读全文
posted @ 2014-10-20 14:41
蜗牛强
阅读(155)
评论(0)
推荐(0)
摘要:
创建公共类:@interface CustomClass : NSObject- (void) fun1;@end@implementation CustomClass-(void)fun1{ NSLog(@"fun1");}@end@interface TestClass : NSObject@... 阅读全文
posted @ 2014-10-20 11:09
蜗牛强
阅读(177)
评论(0)
推荐(0)

浙公网安备 33010602011771号