             updateBorder()
         }
     }
+    
+    // MARK: TextFieldEffects
     
     override public func drawViewsForRect(rect: CGRect) {
         updateBorder()


import UIKit

@IBDesignable public class AkiraTextField : TextFieldEffects {
    
    private let borderSize : (active: CGFloat, inactive: CGFloat) = (1, 2)

        return CGRect(x: bounds.origin.x, y: bounds.origin.y + placeholderHeight, width: bounds.size.width, height: bounds.size.height - placeholderHeight)
    }
    
    // MARK: - Overrides
    
    public override func placeholderRectForBounds(bounds: CGRect) -> CGRect {
        if isFirstResponder() || text!.isNotEmpty {
            return CGRectMake(placeHolderInsets.x, placeHolderInsets.y, bounds.width, placeholderHeight)
