AutocompleteTextfieldSwift
AutocompleteTextfieldSwift copied to clipboard
Using Model Objects (Not only Strings) for the auto completion
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.
Can anyone please look into this and merge this ?