AutocompleteTextfieldSwift icon indicating copy to clipboard operation
AutocompleteTextfieldSwift copied to clipboard

Using Model Objects (Not only Strings) for the auto completion

Open mohshin-shah opened this issue 9 years ago • 1 comments

One can use the models to be used in autocompletion. Because If one would have populated using strings only, one has to first of all create an array of strings from the array of models for specific property and then when cell is tapped it is hard to search for that model (If duplicate entries may exist)

Please check the example for more details. For example, User can create Place Model and onSelect closure placeModel will be in the callBack.So other properties can be accessed handy.

mohshin-shah avatar Oct 24 '16 12:10 mohshin-shah

Can anyone please look into this and merge this ?

mohshin-shah avatar Mar 29 '17 03:03 mohshin-shah