updating readme, fixing extraneous # in parameter
This commit is contained in:
parent
d51e904935
commit
5a3ddcb795
|
|
@ -19,7 +19,7 @@ source 'https://github.com/CocoaPods/Specs.git'
|
|||
platform :ios, "8.1"
|
||||
|
||||
use_frameworks!
|
||||
pod 'SwiftValidator', '2.0.7'
|
||||
pod 'SwiftValidator', '2.1.1'
|
||||
```
|
||||
|
||||
Install into your project:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = "SwiftValidator"
|
||||
s.version = "2.0.7"
|
||||
s.version = "2.1.1"
|
||||
s.summary = "A UITextField Validation library for Swift"
|
||||
s.homepage = "https://github.com/jpotts18/SwiftValidator"
|
||||
s.screenshots = "https://raw.githubusercontent.com/jpotts18/SwiftValidator/master/swift-validator-v2.gif"
|
||||
|
|
@ -9,7 +9,7 @@ Pod::Spec.new do |s|
|
|||
s.social_media_url = "http://twitter.com/jpotts18"
|
||||
s.platform = :ios
|
||||
s.ios.deployment_target = '8.0'
|
||||
s.source = { :git => "https://github.com/jpotts18/SwiftValidator.git", :tag => "2.0.7" }
|
||||
s.source = { :git => "https://github.com/jpotts18/SwiftValidator.git", :tag => "2.1.1" }
|
||||
s.source_files = "Validator/*.swift"
|
||||
s.frameworks = ['Foundation', 'UIKit']
|
||||
s.requires_arc = true
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ public class Validator {
|
|||
|
||||
// MARK: Using Keys
|
||||
|
||||
public func styleTransformers(#success:((validationRule:ValidationRule)->Void)?, #error:((validationError:ValidationError)->Void)?) {
|
||||
public func styleTransformers(#success:((validationRule:ValidationRule)->Void)?, error:((validationError:ValidationError)->Void)?) {
|
||||
self.successStyleTransform = success
|
||||
self.errorStyleTransform = error
|
||||
}
|
||||
|
|
@ -90,4 +90,4 @@ public class Validator {
|
|||
|
||||
callback(errors: errors)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue