Formvalidator Swift Versions Save

A framework to validate inputs of text fields and text views in a convenient way.

4.0.0

5 years ago
Breaking
  • Updated to Swift 5.0 (and added Xcode 10.x support).
Added
  • None.
Updated
  • None.

3.2.0

6 years ago
Breaking
  • None.
Added
Updated
  • None.

3.1.0

6 years ago
Breaking
  • None.
Added
  • Added Xcode 9.3 support.
Updated

3.0.0

6 years ago
Breaking
  • Renamed PostcodeCountries enum cases to begin with lower case letter.
  • Updated to Swift 4.1 (and added Xcode 9.x support).
Added
  • None.
Updated
  • None.

2.0.0

7 years ago

Breaking

  • Updated AlphabeticCondition and AlphanumericCondition to allow unicode characters by default (NumericCondition already allowed unicode characters by default).
  • AlphabeticCondition, AlphanumericCondition, CreditCardCondition, NumericCondition, PasswordStrengthCondition, PostcodeCondition, and RangeCondition now store their configurations in a configuration property rather than as top-level properties of the condition's instance. As an example, for an instance of AlphabeticCondition the check condition.allowsWhitespace == true would become condition.configuration.allowsWhitespace == true.

Added

  • Added Configuration, ConfigurableCondition, ConfigurableValidator protocols. Updated existing conditions and validators to take advantage of new protocols.
  • Added macOS support.

Updated

  • NumericCondition now supports ASCII only (as opposed to allowing any Unicode numeric characters) as an option. The default remains allowing Unicode characters.
  • The shouldAllowViolation property on validator controls now works as expected.

1.2.0

7 years ago

Added

  • Add credit card validation.
  • Add Unicode support for AlphabeticCondition and AlphanumericCondition.

Updated

1.1.0

7 years ago

Added

  • Add postcode validation for Sweden and Turkey.
  • Add localization for Turkish.

Updated

  • Updated documentation around validatorDelegate.

1.0.0

7 years ago

Initial release of FormValidatorSwift.