Closed lfarah closed 8 years ago
ahh good idea! I will make a default supported domains and they could just use the datasource to let their own supported domains kick in. 👌
Maybe something like this?
let myTextField = AutoCompleteTextField(frame: CGRectMake(0, 0, 100, 30))
myTextField.type = .email
ohhh that could also be an option for email or name collections. but I don't think we should support names since it was so huge of a collection. if they want this to get hooked, they can use the datasource to load their own collection.
Definitely! 👍
Added default supported domains.
Now we have to update the Readme.md
Okay thanks for the note.
Updated
I believe that most people will use AutoCompleteTextField as an autocomplete for emails, so instead of having them copy and paste that huge domainNames array, we could have something like that: