摘要: // // 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... 阅读全文
posted @ 2012-01-15 14:20 cc_team 阅读(226) 评论(0) 推荐(0) 编辑
摘要: // // 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 ... 阅读全文
posted @ 2012-01-15 14:19 cc_team 阅读(247) 评论(0) 推荐(0) 编辑
摘要: // // 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,... 阅读全文
posted @ 2012-01-15 14:18 cc_team 阅读(488) 评论(0) 推荐(1) 编辑
摘要: // // 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 \ { ... 阅读全文
posted @ 2012-01-15 14:18 cc_team 阅读(235) 评论(0) 推荐(0) 编辑
摘要: // // 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) 阅读全文
posted @ 2012-01-15 14:17 cc_team 阅读(363) 评论(0) 推荐(0) 编辑