To run the example project, clone the repo, and run pod install
from the Example directory first.
RVInputValidator is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RVInputValidator'
Ravi Ranjan, [email protected]
RVInputValidator is available under the MIT license. See the LICENSE file for more info.
do {
let emailValidator = RVInputValidator(input: "_Email", validationType: .email)
try emailValidator.validatedInput()
}catch {
let error = error as? RVValidationError
print(error?.message ?? "")
}