摘要: // // CCUIColor.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIColor.h" @implementation UIColor(cc) // 获取UIColor的RGBA的值 - (void)getRGBAValue:(CGFloat *)red green:(CGFloat *)green ... 阅读全文
posted @ 2012-01-06 09:56 cc_team 阅读(247) 评论(0) 推荐(0) 编辑
摘要: // // CCUICalloutView.m // CCFC // // Created by xichen on 11-12-23. // Copyright 2011 ccteam. All rights reserved. // #import "CCUICalloutView.h" #if CC_ENABLE_PRIVATE_API && CC_COMPILE_PRIVATE_CLASS @implementation UICalloutView(cc) @end #endif可能有更新: googlecode链接地... 阅读全文
posted @ 2012-01-06 09:55 cc_team 阅读(129) 评论(0) 推荐(0) 编辑
摘要: // // CCUIColor.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> #define RGB_MAX_VALUE 255.0f #define RGBA(r, g, b, a) \ [UIColor colorWithRed:(r)/RGB_MAX_VALUE \ ... 阅读全文
posted @ 2012-01-06 09:55 cc_team 阅读(214) 评论(0) 推荐(0) 编辑
摘要: // // CCUICalloutView.h // CCFC // // Created by xichen on 11-12-23. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> // a demo /* .h: UICalloutView *_callout; - (void)hideDisclosure { [_callout fadeOutWithDuration:0.1f]; } - (v... 阅读全文
posted @ 2012-01-06 09:54 cc_team 阅读(196) 评论(0) 推荐(0) 编辑
摘要: // // CCUIButton.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIButton.h" @implementation UIButton(cc) // 创建UIButton, 文本居中显示 + (UIButton *)createButton:(const CGRect *)rect withTitle:(NSString *)title { ... 阅读全文
posted @ 2012-01-06 09:53 cc_team 阅读(208) 评论(0) 推荐(0) 编辑
摘要: // // CCUIBarButtonItem.m // CCFC // // Created by xichen on 11-12-30. // Copyright 2011 ccteam. All rights reserved. // #import "CCUIBarButtonItem.h" @implementation UIBarButtonItem(cc) @end可能有更新: googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/... 阅读全文
posted @ 2012-01-06 09:52 cc_team 阅读(172) 评论(0) 推荐(0) 编辑
摘要: // // CCUIButton.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <UIKit/UIKit.h> #import "CCUIView.h" @interface UIButton(cc) // 创建UIButton, 文本居中显示 + (UIButton *)createButton:(const CGRect *)rect withTitle:(NSString... 阅读全文
posted @ 2012-01-06 09:52 cc_team 阅读(235) 评论(0) 推荐(0) 编辑
摘要: // // CCUIBarButtonItem.h // CCFC // // Created by xichen on 11-12-30. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface UIBarButtonItem(cc) #if CC_ENABLE_PUBLIC_API_EXTEND // systemItem argument can be passed with: 100 ~ 110 ... 阅读全文
posted @ 2012-01-06 09:51 cc_team 阅读(127) 评论(0) 推荐(0) 编辑
摘要: // // CCUIApplication.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIApplication.h" @implementation UIApplication(cc) - (void)showStatusBar { [self setStatusBarHidden:FALSE]; } - (void)hide... 阅读全文
posted @ 2012-01-06 09:50 cc_team 阅读(181) 评论(0) 推荐(0) 编辑
摘要: // // CCUIAlertView.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIAlertView.h" @implementation UIAlertView(cc) // 显示消息框 + (UIAlertView *)showAlertView:(NSString *)title msg:(NSStr... 阅读全文
posted @ 2012-01-06 09:49 cc_team 阅读(177) 评论(0) 推荐(0) 编辑
摘要: // // CCUIApplication.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface UIApplication(cc) - (void)showStatusBar; - (void)hideStatusBar; - (void)showNetworkActivityInStatusBar; -... 阅读全文
posted @ 2012-01-06 09:49 cc_team 阅读(234) 评论(0) 推荐(0) 编辑
摘要: // // CCUIAlertView.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface UIAlertView(cc) // 显示消息框 + (UIAlertView *)showAlertView:(NSString *)title msg:(... 阅读全文
posted @ 2012-01-06 09:48 cc_team 阅读(179) 评论(0) 推荐(0) 编辑
摘要: // // CCUIAlertTextView.h // CCFC // // Created by xichen on 11-12-16. // Copyright 2011年 ccteam. All rights reserved. // #import <UIKit/UIKit.h> #include <Foundation/Foundation.h> // a kind of alertView that contains one UITextField // **it will make the application not to suppo... 阅读全文
posted @ 2012-01-06 09:47 cc_team 阅读(178) 评论(0) 推荐(0) 编辑
摘要: // // CCUIAlertTextView.m // CCFC // // Created by xichen on 11-12-16. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIAlertTextView.h" #import <QuartzCore/QuartzCore.h> @implementation CCUIAlertTextView - (id)initWithTitle:(NSString *)title deleg... 阅读全文
posted @ 2012-01-06 09:47 cc_team 阅读(185) 评论(0) 推荐(0) 编辑
摘要: // // CCUIAlertActivityView.m // CCFC // // Created by xichen on 11-12-28. // Copyright 2011 ccteam. All rights reserved. // #import "CCUIAlertActivityView.h" #import "CCNSNumber.h" #import "CCUIView.h" #import "CCCommon.h" #import "CCLog.h" @impleme 阅读全文
posted @ 2012-01-06 09:40 cc_team 阅读(177) 评论(0) 推荐(0) 编辑
摘要: // // CCUIAlertActivityView.h // CCFC // // Created by xichen on 11-12-28. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface CCUIAlertActivityView : UIView { UIAlertView *_alertView; UIA... 阅读全文
posted @ 2012-01-06 09:39 cc_team 阅读(180) 评论(0) 推荐(0) 编辑
摘要: // // CCUIActivityIndicatorView.m // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIActivityIndicatorView.h" @implementation UIActivityIndicatorView(cc) //创建系统等待状态图标 + (UIActivityIndicatorView *)createActivityIndi... 阅读全文
posted @ 2012-01-06 09:38 cc_team 阅读(157) 评论(0) 推荐(0) 编辑
摘要: // // CCUIActivityIndicatorView.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface UIActivityIndicatorView(cc) //创建系统等待状态图标 + (UIActivityIndicatorView *)createActivityIndicatorView... 阅读全文
posted @ 2012-01-06 09:38 cc_team 阅读(172) 评论(0) 推荐(0) 编辑
摘要: // // CCUIActionSheet.m // CCFC // // Created by xichen on 11-12-23. // Copyright 2011 ccteam. All rights reserved. // #import "CCUIActionSheet.h" @implementation UIActionSheet(cc) // create a common actionsheet + (UIActionSheet *)createCommonActionsheet:(NSString *)aTitl... 阅读全文
posted @ 2012-01-06 09:37 cc_team 阅读(173) 评论(0) 推荐(0) 编辑