//
//  TextFiledCustom.m
//  Gusto Tracttoria
//
//  Created by Hieu Nguyen on 2/25/13.
//  Copyright (c) 2013 Hieu Nguyen. All rights reserved.
//

#import "TextFiledCustom.h"

@implementation TextFiledCustom

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

// placeholder position
- (CGRect)textRectForBounds:(CGRect)bounds {
    return CGRectInset( bounds , 7 ,7 );
}

// text position
- (CGRect)editingRectForBounds:(CGRect)bounds {
    return CGRectInset( bounds , 7 , 7 );
}

- (id)initWithCoder:(NSCoder *)decoder
{
    if (self = [super initWithCoder:decoder])
    {
        
    }
    return self;
}


@end
