             NSForegroundColorAttributeName: parkedTextColor ?? textColor!
         ]
     }
-
+    
     open override var placeholder: String? {
         didSet {
             if let placeholder = placeholder {

            textChanged(self)
        }
    }

    /// Placeholder before parkedText. Defaults to "".
    @IBInspectable open var placeholderText: String = "" {
        didSet {
            placeholder = placeholderText + parkedText
        }
    }


    /// Constant part of the text. Defaults to the text field's font.
    open var parkedTextFont: UIFont! {
        didSet {
            parkedText += ""
        }
    }

    /// Constant part of the text. Defaults to the text field's textColor.
    @IBInspectable open var parkedTextColor: UIColor! {
        didSet {
            parkedText += ""
        }
    }

    /// Attributes wrapper for font and color of parkedText
    var parkedTextAttributes: [String: NSObject] {
        return [

            }
        }
    }
    
    enum TypingState {
        case start, typed
    }
    var typingState = TypingState.start
    
    var beginningOfParkedText: UITextPosition? {
        get {
            return position(from: endOfDocument, offset: -parkedText.characters.count)
        }
    }
    
    var prevText = ""
    
    
    // MARK: Initialization
    
    public required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        commonInit()
    }
    
    public override init(frame: CGRect) {
        super.init(frame: frame)
        commonInit()
    }
    
    func commonInit() {
        
        if let boldFont = font {
