File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ source 'https://github.com/CocoaPods/Specs.git'
19
19
platform :ios , " 8.1"
20
20
21
21
use_frameworks!
22
- pod ' SwiftValidator' , ' 2.0.7 '
22
+ pod ' SwiftValidator' , ' 2.1.1 '
23
23
```
24
24
25
25
Install into your project:
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "SwiftValidator"
3
- s . version = "2.0.7 "
3
+ s . version = "2.1.1 "
4
4
s . summary = "A UITextField Validation library for Swift"
5
5
s . homepage = "https://github.com/jpotts18/SwiftValidator"
6
6
s . screenshots = "https://raw.githubusercontent.com/jpotts18/SwiftValidator/master/swift-validator-v2.gif"
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
9
9
s . social_media_url = "http://twitter.com/jpotts18"
10
10
s . platform = :ios
11
11
s . ios . deployment_target = '8.0'
12
- s . source = { :git => "https://github.com/jpotts18/SwiftValidator.git" , :tag => "2.0.7 " }
12
+ s . source = { :git => "https://github.com/jpotts18/SwiftValidator.git" , :tag => "2.1.1 " }
13
13
s . source_files = "Validator/*.swift"
14
14
s . frameworks = [ 'Foundation' , 'UIKit' ]
15
15
s . requires_arc = true
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public class Validator {
55
55
56
56
// MARK: Using Keys
57
57
58
- public func styleTransformers( #success: ( ( validationRule: ValidationRule ) -> Void ) ? , # error:((validationError:ValidationError)->Void)?) {
58
+ public func styleTransformers( #success: ( ( validationRule: ValidationRule ) -> Void ) ? , error: ( ( validationError: ValidationError ) -> Void ) ? ) {
59
59
self . successStyleTransform = success
60
60
self . errorStyleTransform = error
61
61
}
@@ -90,4 +90,4 @@ public class Validator {
90
90
91
91
callback ( errors: errors)
92
92
}
93
- }
93
+ }
You can’t perform that action at this time.
0 commit comments