Validator icon indicating copy to clipboard operation
Validator copied to clipboard

Drop in user input validation for your iOS apps.

Results 16 Validator issues
Sort by recently updated
recently updated
newest added

@adamwaite A release tag should also be added to fix swift manifest resolving issues.

The iOS deployment target for iOS and tvOS on both cocoapods and Carthage is 9.0 and 10.0 respectively, while the deployment target for iOS and tvOS on SPM is 11.0...

I noticed when trying to use `ValidationRuleSet`'s `public init(rules: [Rule])` with more than one `Rule` with the same validate type I get an error. For example using `ValidationRuleLength` and an...

Are there any plans to add support for SPM?

When i tries to make build of my project validator package class UITextView+validator.swift gives an error message "Ambiguous use of 'validate' ". Please fix it.

Without this change, it would not be possible to build Validator with Xcode 10.3. One may argue that SPM is only integrated starting with Xcode 11 (which includes Swift 5.1),...

Cannot invoke initializer for type 'ValidationRulePattern' with an argument list of type '(pattern: EmailValidationPattern, error: ValidationError)'

https://github.com/adamwaite/Validator/commit/f9e0b5916e493e9750915a473b0fdf3581fe7aa0#diff-82cfdd33ac3981dee67efa99e2338154L14 this is question. With this commit, ValidationResult.swift's merge method has been deleted, but I would like to know if there is an alternative method here

Look at https://github.com/adamwaite/Validator/blob/master/Validator/Sources/Patterns/EmailValidationPattern.swift Simple and standart patterns are equal. Is it a bug? In the version 3.0.2 they was different.