David Patterson
301d3f24f9
updated readme and added docs
2016-02-14 15:28:31 -06:00
Jeff Potter
ef44bf5477
ExactLengthRule, PhoneNumber public, Tests added
2016-02-03 23:09:39 -07:00
Jeff Potter
3621ec85ff
Merge pull request #72 from jersonperpetua/minimum_deployment_target_iOS_8.0
...
Reduce the minimum deployment target to iOS 8.0
2016-02-03 21:57:53 -07:00
Jeff Potter
86e735397d
Merge pull request #75 from ivopisarovic/master
...
The whole string needs to match number format.
2016-02-03 21:57:19 -07:00
Jeff Potter
d080a6c3cb
Merge pull request #63 from mathielo/single_field_validation
...
Single field validation
2016-02-03 21:34:36 -07:00
Ivo Pisařovic
7caf01d671
The whole string needs to match number format.
...
The original version also allowed values like "a21", "4b" or "7.2.5".
2016-01-22 12:17:45 +01:00
Jerson Michael Perpetua
8979561f70
Reduce the minimum deployment target to iOS 8.0
2016-01-12 09:59:36 +08:00
Caio Mathielo
fdf332d024
Adding single field validation Tests
2016-01-06 12:43:29 -02:00
Caio Mathielo
3e1c46a889
Merge branch 'master' into single_field_validation
2016-01-06 12:16:42 -02:00
Jeff Potter
5f0f429df8
Merge pull request #66 from michalkalinowski-/carthage_fix
...
Carthage fix
2015-11-22 15:03:26 -07:00
mkalinowski
4ae2d89d08
Fixes scheme
2015-11-18 15:42:06 +01:00
mkalinowski
a189b5a00b
Fixes quotes
...
Previous ones were not recognized as valid characters by Carthage
2015-11-18 15:40:39 +01:00
Caio Mathielo
73e1e443a5
Updating README, adding Single Field Validation
2015-10-28 18:30:00 -02:00
Caio Mathielo
dd7007d6ad
Adding public method validateField()
2015-10-28 18:22:24 -02:00
Jeff Potter
3645d74294
Update README.md
2015-10-15 15:10:18 -06:00
Jeff Potter
293d450235
Merge pull request #62 from jpotts18/3.0.0-podspec
...
updating travis to check podspec, bumping version to 3.0.1
2015-10-15 15:00:13 -06:00
Jeff Potter
2de680518a
Update README.md
2015-10-15 14:59:46 -06:00
Jeff Potter
e1be08bec5
updating travis to check podspec, bumping version to 3.0.1
2015-10-15 14:43:00 -06:00
Jeff Potter
f9bd317c34
Merge pull request #61 from jpotts18/travis-ci
...
adding travis file
2015-10-15 14:12:20 -06:00
Jeff Potter
2003f8f30f
Disable Validator Test from Scheme
2015-10-15 14:04:56 -06:00
Jeff Potter
394653e6e9
Adding Schemes
2015-10-15 13:59:47 -06:00
Jeff Potter
efcbdf53a1
trying to use other defaults
2015-10-15 13:53:46 -06:00
Jeff Potter
7ee6f1f255
trying to use other defaults
2015-10-15 13:51:03 -06:00
Jeff Potter
6393f00518
adding travis file
2015-10-15 13:47:44 -06:00
Jeff Potter
3e881899d4
Small chnages to Scheme and moving tests
2015-10-15 13:36:41 -06:00
Jeff Potter
5e32b891c4
Adding Carthage support
2015-10-15 12:06:44 -06:00
Jeff Potter
3614caf857
Merge pull request #58 from c0rn0/fix/excludeAppDelegateFromPod1
...
Added the AppDelegate as an exclude-pod-file
2015-09-22 09:48:57 -06:00
c0rn0
4c00feeefb
Added the AppDelegate as a file that must be excluded from the pod install.
2015-09-22 07:23:26 +02:00
Jeff Potter
0e53e79989
Update README.md
2015-09-20 23:29:24 -06:00
Jeff Potter
d801538d33
Merge pull request #52 from goodeggs/swift-2.0
...
Migrate to Swift 2.0
2015-09-10 20:12:43 -06:00
Jonah Williams
45da08a089
Convert `var` to `let`, resolve warning.
2015-09-10 17:36:23 -07:00
Jonah Williams
2b342f8884
Add missing phone number rule to project
2015-09-10 17:36:00 -07:00
Jonah Williams
b4d1a0c24e
Bump podspec version to `3.0.0`
...
A new major release since Swift 2.0 changes are not backwards compatible for anyone using Xcode 6/Swift 1.2.
2015-09-10 17:29:49 -07:00
Jonah Williams
52a2138dd6
Remove unused framework search path, fix warning
2015-09-10 17:23:12 -07:00
Jonah Williams
7c31d5fd9e
Add constructor calls to fix test build errors
2015-09-10 17:22:49 -07:00
Jonah Williams
1b7c541ed3
Perform recommended update to .pbxproj
...
XCode suggests `ENABLE_TESTABILITY`, and updates to `PRODUCT_BUNDLE_IDENTIFIER`
2015-09-10 17:19:27 -07:00
Jonah Williams
b89c188ecc
`UITextField.text` is now an optional
...
With the Xcode 7 GM release `text` is now an optional despite the documentation stating a default value of "" so we need to unwrap it or provide a default to satisfy the compiler.
2015-09-10 17:16:47 -07:00
Jonah Williams
9b34d138b7
`ValidationError` inherits from `NSObject`
...
`ValidationError` is now an `NSObject` subclass so that `ValidationDelegate` can declare an argument of type `UITextField:ValidationError`. When `ValidationError` is a Swift only class we get a compile error (in Xcode Version 7.0 GM (7A218)):
> Validator.swift:14:10: Method cannot be a member of an @objc protocol because the type of the parameter cannot be represented in Objective-C
Conflicts:
Validator/ValidationError.swift
2015-09-10 17:11:59 -07:00
Jonah Williams
5ed3d8c6ba
Automatic migration to Swift 2.0
...
Converted using Xcode 7.0 GM release (Version 7A218).
2015-09-10 17:09:31 -07:00
Jeff Potter
ca6509687e
Merge pull request #40 from KVTaniguchi/refactorValidationRule
...
apply rules with map and filter
2015-07-20 21:12:53 -07:00
Jeff Potter
dc9224c30f
Merge pull request #39 from KVTaniguchi/RefactorValidator
...
refactor Validator
2015-07-20 21:11:28 -07:00
Jeff Potter
f5376fbeee
Merge pull request #33 from mla2c/master
...
All rules: init with optional user-defined message
2015-07-20 21:10:16 -07:00
Kevin Taniguchi
b95902919b
apply rules with map and filter
2015-06-28 15:55:19 -04:00
Kevin Taniguchi
21a5cc52e2
refactor Validator
...
using type inferencing
loop keys, values in validations
2015-06-28 14:56:40 -04:00
mla2c
4d3f245f7a
Correct conflict
2015-06-12 08:43:19 +02:00
mla2c
d3b92f5a5f
Merge remote-tracking branch 'upstream/master'
2015-06-12 08:36:10 +02:00
Jeff Potter
724a05cf72
Merge pull request #32 from leodasvacas/regex-messages
...
Custom messages for regex rules
2015-06-11 11:00:21 -06:00
mla2c
0edfb58cc4
All rules: init with optional user-defined message possible
2015-06-01 14:54:50 +02:00
mla2c
ba9615cc85
Changes from leodasvacas fork (Custom messages for regex rules, commit 157e9791fb)
2015-06-01 14:13:26 +02:00
Leonardo Yvens
ab2bb9802b
Update README.md
...
Added custom message example. Sanitized SSN example.
2015-05-30 20:03:09 -03:00