Convert NSRange to Range before calling ShouldChange
closure
#1
Labels
enhancement
New feature or request
ShouldChange
closure
#1
In the original delegate call
textField(_:shouldChangeCharactersIn:replacementString:)
andtextView(_:shouldChangeTextIn:replacementText:)
the parameter type forshouldChangeCharactersIn
andshouldChangeTextIn
is NSRange. This should be converted to Range before calling theShouldChange
closure.The text was updated successfully, but these errors were encountered: