摘要: // // 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... 阅读全文
posted @ 2012-01-12 09:47 cc_team 阅读(135) 评论(0) 推荐(0) 编辑
摘要: // // 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... 阅读全文
posted @ 2012-01-12 09:47 cc_team 阅读(124) 评论(0) 推荐(0) 编辑
摘要: // // 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... 阅读全文
posted @ 2012-01-12 09:46 cc_team 阅读(182) 评论(0) 推荐(0) 编辑
摘要: // // 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... 阅读全文
posted @ 2012-01-12 09:45 cc_team 阅读(143) 评论(0) 推荐(0) 编辑
摘要: // // 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 { ... 阅读全文
posted @ 2012-01-12 09:44 cc_team 阅读(196) 评论(0) 推荐(0) 编辑