摘要:
// // CCUIWindow.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import "CCConfig.h" @interface UIWindow(cc) //+ (UIWindow *)addImgToStatusBar:(UIImage *)img withRect:(CGRect)imgRect; + (void)addI... 阅读全文
摘要:
// // CCUIViewController.m // CCFC // // Created by xichen on 11-12-28. // Copyright 2011 ccteam. All rights reserved. // #import "CCUIViewController.h" @implementation UIViewController(cc) - (UIBarButtonItem *)addLeftBarButtonItem:aTitle ... 阅读全文
摘要:
// // CCUIView.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIView.h" #import <QuartzCore/QuartzCore.h> @interface UIView(ccPrivate) - (id)text; - (id)font; @end @implementation UIView(cc) @dynamic x, y,... 阅读全文
摘要:
// // CCUIViewController.h // CCFC // // Created by xichen on 11-12-28. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #define MACRO_COMMON_LOAD_VIEW \ - (void)loadView \ { ... 阅读全文
摘要:
// // CCUIView.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #import "CCUIButton.h" //创建UI控件的宏 #define UI_ALLOC_CREATE(UIctlName, x, y, width, height) [[UIctlName alloc] initWithFrame:CGRectMake((x) 阅读全文