File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 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'
1919platform :ios , " 8.1"
2020
2121use_frameworks!
22- pod ' SwiftValidator' , ' 2.0.7 '
22+ pod ' SwiftValidator' , ' 2.1.1 '
2323```
2424
2525Install into your project:
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "SwiftValidator"
3- s . version = "2.0.7 "
3+ s . version = "2.1.1 "
44 s . summary = "A UITextField Validation library for Swift"
55 s . homepage = "https://github.com/jpotts18/SwiftValidator"
66 s . screenshots = "https://raw.githubusercontent.com/jpotts18/SwiftValidator/master/swift-validator-v2.gif"
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
99 s . social_media_url = "http://twitter.com/jpotts18"
1010 s . platform = :ios
1111 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 " }
1313 s . source_files = "Validator/*.swift"
1414 s . frameworks = [ 'Foundation' , 'UIKit' ]
1515 s . requires_arc = true
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public class Validator {
5555
5656 // MARK: Using Keys
5757
58- public func styleTransformers( #success: ( ( validationRule: ValidationRule ) -> Void ) ? , # error:((validationError:ValidationError)->Void)?) {
58+ public func styleTransformers( #success: ( ( validationRule: ValidationRule ) -> Void ) ? , error: ( ( validationError: ValidationError ) -> Void ) ? ) {
5959 self . successStyleTransform = success
6060 self . errorStyleTransform = error
6161 }
@@ -90,4 +90,4 @@ public class Validator {
9090
9191 callback ( errors: errors)
9292 }
93- }
93+ }
You can’t perform that action at this time.
0 commit comments