how to detecting that user is typing?
abrahamkj opened this issue · 4 comments
abrahamkj commented
how to detecting that user is typing?
abrahamkj commented
I got the answer. We can use textFieldDidChange()
JHHMobile commented
Can you share how to implement that method? Thanks
abrahamkj commented
textfield.addTarget(self, action: #selector(functionname), for: .editingChanged)
func functionname()
{
}
voldzi commented
Ads selector doesn't work as self.text = filteredResults[(indexPath as NSIndexPath).row].title doesn't fired event "editingChanged" (line 600)
Solution is to add line below mentioned line: self.sendActions(for: .editingChanged)
...it will be nice to add it to master...