             width: placeholderLabel.frame.size.width, height: placeholderLabel.frame.size.height)
     }
     
-    override public func animateViewsForTextEntry() {
-        updateBorder()
-        if let activeColor = activeColor {
-            performPlacerholderAnimationWithColor(activeColor)
-        }
-    }
-    
-    override public func animateViewsForTextDisplay() {
-        updateBorder()
-        if let inactiveColor = inactiveColor {
-            performPlacerholderAnimationWithColor(inactiveColor)
-        }
-    }
-    
     private func performPlacerholderAnimationWithColor(color: UIColor) {
         
         let yOffset: CGFloat = 4


import UIKit

@IBDesignable public class IsaoTextField: TextFieldEffects {
    
    @IBInspectable dynamic public var inactiveColor: UIColor? {
        didSet {
            updateBorder()
        }
    }
    @IBInspectable dynamic public var activeColor: UIColor? {
        didSet {
            updateBorder()

        layer.addSublayer(borderLayer)
        addSubview(placeholderLabel)        
    }
    
    override public func animateViewsForTextEntry() {
        updateBorder()
        if let activeColor = activeColor {
            performPlacerholderAnimationWithColor(activeColor)
        }
    }
    
    override public func animateViewsForTextDisplay() {
        updateBorder()
        if let inactiveColor = inactiveColor {
            performPlacerholderAnimationWithColor(inactiveColor)
        }
    }
    
    // MARK: - Private
    
    private func updateBorder() {
        borderLayer.frame = rectForBorder(frame)
