Autocomplete view attachable to any UITextField. Ships with sample items source - google places items source. Can be configured to autocomplete from any source. Auto fits all available space, customizable look and feel
Other
191
stars
63
forks
source link
How to implement "didAutocompleteWith" property in swift #22
I have tried to implement the autocompleteview in my swift project by using bridge headers. But i am not able to figure out how to implement the _autocompleteView.didAutocompleteWith property as in objective c the above property uses
_autocompleteView.didAutocompleteWith = ^(id item)
{
NSLog(@"Autocompleted with: %@", item.completionText);
};
not able to figure out how to implement above property in swift.
I have tried to implement the autocompleteview in my swift project by using bridge headers. But i am not able to figure out how to implement the _autocompleteView.didAutocompleteWith property as in objective c the above property uses _autocompleteView.didAutocompleteWith = ^(id item)
{
NSLog(@"Autocompleted with: %@", item.completionText);
};
not able to figure out how to implement above property in swift.