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

on UITextView+Validator the compiler shows the following error on line 11: 'textDidChangeNotification' has been renamed to 'NSNotification.Name.UITextViewTextDidChange' therefore you cannot build.

After updating to **Xcode Version 11.0 (11A420a)** on **macOS Mojave Version 10.14.6 (18G95)**, with **Cocopods Version 1.7.5**, **Validator Pod Version swift-4.2** `pod 'Validator', :git => 'https://github.com/adamwaite/Validator.git', :branch => 'swift-4.2'` I...

Validator was originally written when I was learning Swift (Swift 2) and has been adapted for Swift 3 and Swift 4. Now feels like a good time to update the...

When trying set properties of `ValidatableInterfaceElement` in a subclass of UITextfield I am getting `Cannot assign to property: 'self' is immutable swift error`. To resolve this I had to restrict...

First of all: Great job on this project! I love using it! I was wondering if it is intentional that validationRuleSets and validationHandler are strongly referenced and that they cannot...

Why is this code valid? How to use Wrong? ``` var validationRuleSet = ValidationRuleSet() let stringRequiredRule = ValidationRuleRequired(error: ValidationError(message: "email is required.")) validationRuleSet.add(rule: stringRequiredRule) let email: String? = nil let...