Closed dcflow closed 8 years ago
You managed to get it working?
As I recall I just removed the async queue.
private func autoCompleteTextField(_ textField: MLPAutoCompleteTextField!, possibleCompletionsFor string: String!, completionHandler handler: (([AnyObject]?) -> Void)!) {
let completions: [String] = ["a", "b", "c"]
handler(completions as [AnyObject])
}
There is also another autocomplete func that you should try.
Hi,
On Swift 3 this gives a thread error. On Swift 2 it used to work fine.
Thank You!