BBAEditingTextField.h
770 Bytes
//
// BBAEditingTextField.h
// BBAUIKit
//
// Created by huangjl on 15/4/7.
// Copyright (c) 2015年 Baidu. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BBASwitch.h"
#define LEFT_VIEW_X 17.f
#define LEFT_VIEW_SIDE_LENGTH BBADimentionMake(20.f)
#define TEXT_AREA_LEFT_MARGIN 15.f
__attribute__ ((deprecated("该类已被废弃,请勿再使用")))
@interface BBAEditingTextField : UITextField
@property (nonatomic, strong, readonly) BBASwitch *swithButton; // swithButton will be added on the textField`s rightView
- (void)setCustomClearButtonImage:(UIImage *)image forState:(UIControlState)state;
- (void)setLeftImage:(UIImage *)image;
- (void)setSwithButtonHidden:(BOOL)isHidden;
- (void)setClearButtonEvent:(id)target action:(SEL)action;
@end