Validator is a user input validation library written in Swift. It’s comprehensive, designed for extension, and leaves the UI up to you.
Features:
- Validation rules:
- Required
- Equality
- Comparison
- Length (min, max, range)
- Pattern (email, password constraints and more…)
- Contains
- URL
- Payment card (Luhn validated, accepted types)
- Condition (quickly write your own)
- Swift standard library type extensions with one API (not just strings!)
- UIKit element extensions
- Open validation error types
- An open protocol-oriented implementation
- Comprehensive test coverage
- Comprehensive code documentation

Leave a Reply
You must be logged in to post a comment.