//
//  UITextField+EdgeInset.m
//  YanLanLou_iTouch
//
//  Created by JianjiYuan on 14/6/12.
//  Copyright (c) 2014年 JianjiYuan. All rights reserved.
//

#import "UITextField+EdgeInset.h"

@implementation UITextField (EdgeInset)

- (void)customLeftEdge:(float)leftEdge;
{
    if (leftEdge > 0) {
        self.leftView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, leftEdge, CGRectGetHeight(self.bounds))];
        self.leftViewMode = UITextFieldViewModeAlways;
    }
    
}

@end
