shouldChangeTextInRange method
shouldChangeTextInRange:replacementText:
Implementation
bool shouldChangeTextInRange(UITextRange range, {required objc.NSString replacementText}) {
final _$$ref = object$.ref;
final _$$ref$1 = range.ref;
final _$$ref$2 = replacementText.ref;
objc.checkOsVersionInternal('UITextField.shouldChangeTextInRange:replacementText:', iOS: (false, (6, 0, 0)));
if (!objc.respondsToSelector(_$$ref.pointer, _sel_shouldChangeTextInRange_replacementText_)) {
throw objc.UnimplementedOptionalMethodException('UITextField', 'shouldChangeTextInRange:replacementText:');
}
return _objc_msgSend_1lsax7n(
_$$ref.pointer,
_sel_shouldChangeTextInRange_replacementText_,
_$$ref$1.pointer,
_$$ref$2.pointer,
);
}