Open lsamaria opened 5 years ago
-Line 114 added: self.delegate = self // sets itself as the UITextFieldDelegate
-Line 121 added: addTarget(self, action: #selector(textFieldTapped), for: .editingChanged) // detects when textField is tapped set in Lines 451 - 457
-Line 190 added: (delegate as? FPNTextFieldDelegate)?.detectWhenFlagTapped()
-Line 208 added: (delegate as? FPNTextFieldDelegate)?.detectWhenDoneButtonTapped()
-Lines 451 - 457 added for the target method in lines 121 extension FPNTextField: UITextFieldDelegate {
@objc private func textFieldTapped() { (delegate as? FPNTextFieldDelegate)?.detectWhenTextFieldTapped() }
}
-Line 114 added: self.delegate = self // sets itself as the UITextFieldDelegate
-Line 121 added: addTarget(self, action: #selector(textFieldTapped), for: .editingChanged) // detects when textField is tapped set in Lines 451 - 457
-Line 190 added: (delegate as? FPNTextFieldDelegate)?.detectWhenFlagTapped()
-Line 208 added: (delegate as? FPNTextFieldDelegate)?.detectWhenDoneButtonTapped()
-Lines 451 - 457 added for the target method in lines 121 extension FPNTextField: UITextFieldDelegate {
}