rename method to unregisterField

This commit is contained in:
Georg Fischer 2015-04-15 21:23:10 +02:00
parent edb5f61dda
commit 3a68b97a86
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}