Regarding the issue mentioned in #15, textField(_:shouldChangeCharactersIn:replacementString:) is skipped when the delete key is pressed.
The delegate could be notified of the changed input text from textFieldShouldDelete(_:). Tested with CJK input methods, it seems okay for normal use cases.
Regarding the issue mentioned in #15,
textField(_:shouldChangeCharactersIn:replacementString:)
is skipped when the delete key is pressed.The delegate could be notified of the changed input text from
textFieldShouldDelete(_:)
. Tested with CJK input methods, it seems okay for normal use cases.