         })
     }
 
-    @objc private func textFieldDidChange(textField: UITextField) {
-        guard let text = textField.text else {
-            return
-        }
-
-        haveAppropriateInput = (text.characters.count == YepConfig.verifyCodeLength())
-    }
-
     private func login() {
 
         view.endEditing(true)


                YepAlert.alertSorry(message: errorMessage, inViewController: self, withDismissAction: {
                    SafeDispatch.async {
                        self?.verifyCodeTextField.becomeFirstResponder()
                    }
                })

        verifyCodeTextField.placeholder = " "
        verifyCodeTextField.backgroundColor = UIColor.whiteColor()
        verifyCodeTextField.textColor = UIColor.yepInputTextColor()
        verifyCodeTextField.rx_text
            .map({ $0.characters.count == YepConfig.verifyCodeLength() })
            .subscribeNext({ [weak self] in self?.haveAppropriateInput = $0 })
            .addDisposableTo(disposeBag)

        callMePromptLabel.text = NSLocalizedString("Didn't get it?", comment: "")
        callMeButton.setTitle(NSLocalizedString("Call me", comment: ""), forState: .Normal)
