rename method to unregisterField
This commit is contained in:
parent
edb5f61dda
commit
3a68b97a86
|
|
@ -31,7 +31,7 @@ public class Validator {
|
|||
validations[textField] = ValidationRule(textField: textField, rules:rules, errorLabel:errorLabel)
|
||||
}
|
||||
|
||||
public func deregisterField(textField:UITextField) {
|
||||
public func unregisterField(textField:UITextField) {
|
||||
validations.removeValueForKey(textField)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue