Protocols
The following protocols are available globally.
-
A Condition is the smallest sub element of the validation framework. It tells how a string must be structured or wat is has to contain or not. Validators are for storing those conditions and checking for violations of every condition.
Conditions are recommended working with regular expressions but can also contain their custom checking code for detecting violations in the string to check.
By returning a localized string in method
See morelocalizedViolationString
the user can be informed in a convenient way what went wrong.Declaration
Swift
public protocol Condition : CustomStringConvertible
-
A form to assist in validating
See moreValidatorControl
objects’ current states.Declaration
Swift
public protocol Form
-
Undocumented
See moreDeclaration
Swift
public protocol Validatable
-
Undocumented
See moreDeclaration
Swift
public protocol ValidatorControlDelegate : AnyObject
-
Undocumented
See moreDeclaration
Swift
public protocol ValidatorControl : AnyObject, Validatable