Classes
The following classes are available globally.
-
See moreAlphaNumericRuleis a subclass ofCharacterSetRule. It is used to verify that a field has a valid list of alphanumeric characters.Declaration
Swift
public class AlphaNumericRule: CharacterSetRule
-
Class that makes
See moreValidatorobjects. Should be added as a parameter to ViewController that will display validation fields.Declaration
Swift
public class Validator
-
See moreValidationRuleis a class that creates an object which holds validation info of a field.Declaration
Swift
public class ValidationRule
-
The
See moreValidationErrorclass is used for representing errors of a failed validation. It contains the field, error label, and error message of a failed validation.Declaration
Swift
public class ValidationError: NSObject
-
See moreAlphaRuleis a subclass ofCharacterSetRule. It is used to verify that a field has a valid list of alpha characters.Declaration
Swift
public class AlphaRule: CharacterSetRule
Classes Reference