摘要:
// // 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... 阅读全文
摘要:
// // 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 { ... 阅读全文
摘要:
// // 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/... 阅读全文
摘要:
// // 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... 阅读全文
摘要:
// // 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 ... 阅读全文
摘要:
// // 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... 阅读全文
摘要:
// // 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... 阅读全文
摘要:
// // 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; -... 阅读全文
摘要:
// // 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:(... 阅读全文
摘要:
// // 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... 阅读全文