摘要: 用C代替OC:#import #import #import extern int UIApplicationMain (int argc,char *argv[],void *principalClassName,void *delegateClassName);struct Rect { flo... 阅读全文
posted @ 2014-12-11 08:20 _MengXY_ 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 11、系统类的方法实现部分替换- (void) methodExchange { Method m1 = class_getInstanceMethod([NSStringclass],@selector(lowercaseString)); Method m2 = class_getInsta... 阅读全文
posted @ 2014-12-11 08:19 _MengXY_ 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 一些公用类:@interface ClassCustomClass :NSObject{ NSString *varTest1; NSString *varTest2; NSString *varTest3;}@property (nonatomic,assign)NSString *varT... 阅读全文
posted @ 2014-12-11 08:18 _MengXY_ 阅读(105) 评论(0) 推荐(0) 编辑
摘要: IOS高级开发~Runtime(一)IOS高级开发~Runtime(二)IOS高级开发~Runtime(三)IOS高级开发~Runtime(四)一些公用类:@interface CustomClass : NSObject- (void) fun1;@end@implementation Custo... 阅读全文
posted @ 2014-12-11 08:17 _MengXY_ 阅读(144) 评论(0) 推荐(0) 编辑