textfield.addTarget(self, action: #selector(ViewController.textFieldDidChange(_:)), for: .editingChanged)