We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f8b2d24 + fbaf18a commit 3dc5b79Copy full SHA for 3dc5b79
1 file changed
README.md
@@ -89,7 +89,7 @@ Validate Fields on button tap or however you would like to trigger it.
89
90
```swift
91
@IBAction func signupTapped(sender: AnyObject) {
92
- validator.validate(delegate:self)
+ validator.validate(self)
93
}
94
```
95
@@ -102,7 +102,7 @@ func validationSuccessful() {
102
// submit the form
103
104
105
-func validationFailed(errors:[(Validatable ,ValidationError]) {
+func validationFailed(errors:[(Validatable ,ValidationError)]) {
106
// turn the fields to red
107
for (field, error) in errors {
108
if let field = field as? UITextField {
0 commit comments