   // MARK: Notification
   
   private func setupObserver() {
-    NotificationCenter.default.addObserver(self, selector: #selector(didBeginChangeText), name: NSNotification.Name.UITextFieldTextDidBeginEditing, object: self)
-    NotificationCenter.default.addObserver(self, selector: #selector(didChangeText), name: NSNotification.Name.UITextFieldTextDidChange, object: self)
-    NotificationCenter.default.addObserver(self, selector: #selector(didEndChangingText), name: NSNotification.Name.UITextFieldTextDidEndEditing, object: self)
+    NotificationCenter.default.addObserver(self, selector: #selector(didBeginChangeText), name: UITextField.textDidBeginEditingNotification, object: self)
+    NotificationCenter.default.addObserver(self, selector: #selector(didChangeText), name: UITextField.textDidChangeNotification, object: self)
+    NotificationCenter.default.addObserver(self, selector: #selector(didEndChangingText), name: UITextField.textDidEndEditingNotification, object: self)
   }
   
   // MARK: - Dealloc

    placeholderLabelMinCenter = placeholderLabel.center.x * scaleCoeff
    
    addSubview(placeholderLabel)
    bringSubview(toFront: placeholderLabel)
  }
  
  func drawPlaceholderIfTextExistInRect(rect: CGRect) {

    placeholderLabelMinCenter = placeholderLabel.center.x
    
    addSubview(placeholderLabel)
    bringSubviewToFront(placeholderLabel)
  }
  
  override open func drawText(in rect: CGRect) {
