I have modified example for Error state and delegates. When I use SkyFloatingLabelTextField, I think the example isn't proper at README.md
Because when user typing, func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool method is called but This method's textfield.text bring value that previous value currently entered.
if a user is typing "A", textfield.text is "", if a user is typing "AB", textfield.text is "A". and then if a user is removing "B" of "AB", textfield.text is "AB". so I think that this situation can cause to be confused.
I have modified example for Error state and delegates. When I use SkyFloatingLabelTextField, I think the example isn't proper at
README.md
Because when user typing,
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool
method is called but This method'stextfield.text
bring value that previous value currently entered.if a user is typing "A",
textfield.text
is "", if a user is typing "AB",textfield.text
is "A". and then if a user is removing "B" of "AB",textfield.text
is "AB". so I think that this situation can cause to be confused.