iphone-common-codes-ccteam源代码 CCUITextField.h

//  
// CCUITextField.h
// CCFC
//
// Created by xichen on 11-12-28.
// Copyright 2011 ccteam. All rights reserved.
//


#import <Foundation/Foundation.h>




@interface UITextField(cc)


// create a common textField
+ (UITextField *)createCommonTextField:(CGRect)rect;


// set the clear button status
- (void)addClearButton;


// add a leftView
- (UILabel *)addLeftview:(CGRect)leftViewRect text:(NSString *)text;


// add a leftView by a label
- (void)addLeftview:(UILabel *)label;


@end

 

可能有更新:

googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCUITextField.h

github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCUITextField.h

posted @ 2012-01-13 19:11  cc_team  阅读(143)  评论(0编辑  收藏  举报