摘要: // // 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) 编辑
摘要: 1. // 2. // CCUIToolbar.h 3. // CCFC 4. // 5. // Created by xichen on 12-1-3. 6. // Copyright 2012 ccteam. All rights reserved. 7. // 8. 9. #import <Foundation/Foundation.h> 10. #import <UIKit/UIToolbar.h> 11. 12. @interface UIToolbar(cc) 13. 14. //... 阅读全文
posted @ 2012-01-14 09:43 cc_team 阅读(149) 评论(0) 推荐(0) 编辑
摘要: # //# // CCUIToolbar.m # // CCFC # //# // Created by xichen on 12-1-3. # // Copyright 2012 ccteam. All rights reserved. # //# # #import "CCUIToolBar.h" # # # @implementation UIToolbar(cc) # # // create a common toolbar # + (UIToolbar *)createCommonToolbar:(CGRect)rect items:(NSArr... 阅读全文
posted @ 2012-01-14 09:43 cc_team 阅读(173) 评论(0) 推荐(0) 编辑
摘要: # //# // CCUITextView.m # // CCFC # //# // Created by xichen on 11-12-22. # // Copyright 2011 ccteam. All rights reserved. # //# # #import "CCUITextView.h" # #import "CCUIView.h" # #import "CCLog.h" # # @implementation UITextView(cc) # # + (UITextView *)createCommonText 阅读全文
posted @ 2012-01-14 09:42 cc_team 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1. // 2. // CCUITextView.h 3. // CCFC 4. // 5. // Created by xichen on 11-12-22. 6. // Copyright 2011 ccteam. All rights reserved. 7. // 8. 9. #import <Foundation/Foundation.h> 10. 11. 12. @interface UITextView(cc) 13. 14. + (UITextView *)createCom... 阅读全文
posted @ 2012-01-14 09:41 cc_team 阅读(171) 评论(0) 推荐(0) 编辑
摘要: # //# // CCUITextField.m # // CCFC # //# // Created by xichen on 11-12-28. # // Copyright 2011 ccteam. All rights reserved. # //# # #import "CCUITextField.h" # # # @implementation UITextField(cc) # # // create a common textField # + (UITextField *)createCommonTextField:(CGRect)rec... 阅读全文
posted @ 2012-01-14 09:40 cc_team 阅读(269) 评论(0) 推荐(0) 编辑