摘要:
// // CCUISegmentedControl.h // CCFC // // Created by xichen on 11-12-30. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface UISegmentedControl(cc) #if CC_ENABLE_PUBLIC_API_EXTEND // you can set 3 to it. @property(nonatomic) in... 阅读全文
摘要:
// // CCUISegmentedControl.m // CCFC // // Created by xichen on 11-12-30. // Copyright 2011 ccteam. All rights reserved. // #import "CCUISegmentedControl.h" @implementation UISegmentedControl(cc) @end 可能有更新: googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccte... 阅读全文
摘要:
// // CCUISearchBar.m // CCFC // // Created by xichen on 11-12-27. // Copyright 2011 ccteam. All rights reserved. // #import "CCUISearchBar.h" @implementation UISearchBar(cc) // set the searchBar to be transparent - (void)setTransparent { [[self.subviews objectA... 阅读全文
摘要:
// // CCUISearchBar.h // CCFC // // Created by xichen on 11-12-27. // Copyright 2011 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @interface UISearchBar(cc) // set the searchBar to be transparent - (void)setTransparent; // create a common searchB... 阅读全文
摘要:
// // CCUIScreen.m // CCFC // // Created by xichen on 11-12-16. // Copyright 2011年 ccteam. All rights reserved. // #import "CCUIScreen.h" @implementation UIScreen(cc) - (CGFloat)width { return [[UIScreen mainScreen] bounds].size.width; } - (CGFloat)height { ... 阅读全文