 import UIKit
 
 @objc public protocol UIAnimatedTextFieldDelegate: class {
-    
+
     @objc optional func animatedTextFieldValueDidChange(_ animatedTextField: UIAnimatedTextField)
     @objc optional func animatedTextFieldWillReactForTap()
     @objc optional func animatedTextFieldShouldBeginEditing(_ animatedTextField: UIAnimatedTextField) -> Bool


@IBDesignable
open class UIAnimatedTextField: UIView {
    
    // MARK: - Constants
    struct Constants {
        static let done = "Done"
        static let space = " "
        static let defaultDateFormat = "dd/MM/yyyy"
    }
    
    // MARK: - Delegate
    
    weak public var delegate: UIAnimatedTextFieldDelegate?
    
    // MARK: - UI Properties
    
    private(set) public var textField: EditableTextField!
    private(set) public var placeholderLabel: UILabel!
    private(set) public var lineView: UIView!
    
    private var disclosureIndicatorImageView: UIImageView!
    
    // MARK: - @IBInspectable Properties
    
    @IBInspectable public var placeholder: String? {
        get {
            return placeholderLabel.text

            placeholderLabel.text = newValue
        }
    }

    @IBInspectable public var isLeftTextAlignment: Bool {
        get {
            return textField.textAlignment == .left
