EddyBorja / MLPAutoCompleteTextField

UITextfield subclass with autocomplete menu. For iOS.
Other
1.21k stars 222 forks source link

Delegation enhancements. Search by last word #96

Closed zx500xl closed 6 years ago

zx500xl commented 8 years ago
  1. Could you implement getting "search string" from delegate? For example, sometimes I search by last word in text field. Although, I can change string parameter in autoCompleteTextField:possibleCompletionsForString:, there is no way to tell TextField what really search string is (for example, variants in table view will not be highlighted correctly)
  2. Could you implement delegation of changing text field on varian selection? Now: textField changes automatically. For my algorithm - I need it to tell me that it want's to change and give me ability to forbid changes. Something like -shouldChange... and -willChange... methods.