Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AJWValidator.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Built in validations:

DESC

s.homepage = "https://github.com/adamwaite/AJWValidator"
s.homepage = "https://github.com/adamwaite/Validator"

s.license = { :type => 'MIT', :file => 'LICENSE' }

Expand All @@ -33,7 +33,7 @@ DESC
s.platform = :ios
s.platform = :ios, '6.0'

s.source = { :git => "https://github.com/adamwaite/AJWValidator.git", :tag => "v0.0.8" }
s.source = { :git => "https://github.com/adamwaite/Validator.git", :tag => "v0.0.8" }
s.source_files = 'AJWValidator', 'AJWValidator/**/*.{h,m}'
s.public_header_files = 'AJWValidator/AJWValidator.h', 'AJWValidator/UIView+AJWValidator.h'

Expand Down
4 changes: 2 additions & 2 deletions AJWValidator/AJWValidator.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ of this software and associated documentation files (the "Software"), to deal
}
}

NSString * const AJWValidatorRegularExpressionPatternEmail = @"^[_A-Za-z0-9-+]+(\\.[_A-Za-z0-9-+]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*(\\.[A-Za-z‌​]{2,4})$";
NSString * const AJWValidatorRegularExpressionPatternEmail = @"^[_A-Za-z0-9-+]+(\\.[_A-Za-z0-9-+]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*(\\.[A-Za-z‌​]{2,6})$";

NSString * const AJWValidatorRegularExpressionPatternContainsNumber = @".*\\d.*";

Expand Down Expand Up @@ -343,4 +343,4 @@ - (NSUInteger)ruleCount
return [self.rules count];
}

@end
@end
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AJWValidator

> 💀 This library has been rewritten in Swift 2.0 and is no longer maintained in Objective-C (See [master](https://github.com/adamwaite/Validator/master). Here rests the final version (0.0.8).
> 💀 This library has been rewritten in Swift 2.0 and is no longer maintained in Objective-C (See [master](https://github.com/adamwaite/Validator). Here rests the final version (0.0.8).

AJWValidator provides drop in user input validation for your iOS apps. It features a number of built in validation rules, some convenience methods to verify user input, a validation state change handler block, a public error messages collection, and a category on UIView to provide validate-as-input functionality to supported input view types. It's not opinionated, it's your app and it's up to you how you want handle validation errors on the UI.

Expand Down