Closed abrahamkj closed 5 years ago
Can you share how to implement that method? Thanks
textfield.addTarget(self, action: #selector(functionname), for: .editingChanged)
func functionname() { }
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...
I got the answer. We can use textFieldDidChange()