apasccon / SearchTextField

UITextField subclass with autocompletion suggestions list
MIT License
1.15k stars 253 forks source link

I get Thread 1 Signal error in App delegate #69

Open Adrian-Yao opened 7 years ago

Adrian-Yao commented 7 years ago

After opening podfile and downloading SearchTextField 1.1.4 I created an outlet as follows: @IBOutlet weak var countrySearchTextField: SearchTextField!

And then in viewDidLoad, i put in this function { countrySearchTextField.filterStrings(["United States", "England", "China"]) }

I am doing autocomplete for countries, but when I run this code, the Thread 1 Signal error comes up. Much help appreciated!

russel2002 commented 7 years ago

I got it too. @Adrian-Yao , did you find any solution? Thanks

Adarkas2302 commented 6 years ago

I hade a problem like this too. Not sure if it is the same but on my side it was caused by having the wrong typ for the textEdit in the storyboard. There it still was UITextField and not SearchTextField.