Antol / APAutocompleteTextField

Autocomplete text field. It works like Safari (iOS) or Chrome (iOS) search / address bar
MIT License
79 stars 9 forks source link

A couple of things... #3

Open cpanderson opened 10 years ago

cpanderson commented 10 years ago

Was looking for how to do autocomplete and came across your class and thought I would give it a try.

1) The example wouldn't build as there's some references to files that don't have "Example" in the name.

2) The class assumes you'll be creating a text field programmatically and during the init of the rectangle the selectionColor is specified. In my view I placed a textview in the storyboard so I had to specify the selectionColor in my viewDidLoad in order for it to work.

Thanks!