Classes

The following classes are available globally.

  • EmailRule is a subclass of RegexRule that defines how a email is validated.

    See more

    Declaration

    Swift

    public class EmailRule: RegexRule
  • FullNameRule is a subclass of Rule that defines how a full name is validated.

    See more

    Declaration

    Swift

    public class FullNameRule : Rule
  • ZipCodeRule is a subclass of RegexRule that represents how zip codes are to be validated.

    See more

    Declaration

    Swift

    public class ZipCodeRule: RegexRule
  • PasswordRule is a subclass of RegexRule that defines how a password is validated.

    See more

    Declaration

    Swift

    public class PasswordRule : RegexRule
  • AlphaNumericRule is a subclass of CharacterSetRule. It is used to verify that a field has a valid list of alphanumeric characters.

    See more

    Declaration

    Swift

    public class AlphaNumericRule: CharacterSetRule
  • CharacterSetRule is a subclass of Rule. It is used to validate IPV4 address fields.

    See more

    Declaration

    Swift

    public class CharacterSetRule: Rule
  • PhoneNumberRule is a subclass of Rule that defines how a phone number is validated.

    See more

    Declaration

    Swift

    public class PhoneNumberRule: RegexRule
  • FloatRule is a subclass of Rule that defines how check if a value is a floating point value.

    See more

    Declaration

    Swift

    public class FloatRule:Rule
  • HexColorRule is a subclass of RegexRule. It is used to verify whether a field is a hexadecimal color.

    See more

    Declaration

    Swift

    public class HexColorRule: RegexRule
  • Class that makes Validator objects. Should be added as a parameter to ViewController that will display validation fields.

    See more

    Declaration

    Swift

    public class Validator
  • ValidationRule is a class that creates an object which holds validation info of a text field.

    See more

    Declaration

    Swift

    public class ValidationRule
  • ConfirmationRule is a subclass of Rule that defines how a text field that has to be equal to another text field is validated.

    See more

    Declaration

    Swift

    public class ConfirmationRule: Rule
  • IPV4Rule is a subclass of RegexRule that defines how a IPV4 address validated.

    See more

    Declaration

    Swift

    public class IPV4Rule: RegexRule
  • ISBNRule is a subclass of Rule. It is used to verify whether a field is a valid ISBN number.

    See more

    Declaration

    Swift

    public class ISBNRule: Rule
  • The ValidationError class is used for representing errors of a failed validation. It contains the text field, error label, and error message of a failed validation.

    See more

    Declaration

    Swift

    public class ValidationError: NSObject
  • RequiredRule is a subclass of Rule that defines how a required text field is validated.

    See more

    Declaration

    Swift

    public class RequiredRule: Rule
  • RegexRule is a subclass of Rule that defines how a regular expression is validated.

    See more

    Declaration

    Swift

    public class RegexRule : Rule
  • AlphaRule is a subclass of CharacterSetRule. It is used to verify that a field has a valid list of alpha characters.

    See more

    Declaration

    Swift

    public class AlphaRule: CharacterSetRule
  • MinLengthRule is a subclass of Rule that defines how minimum character length is validated.

    See more

    Declaration

    Swift

    public class MinLengthRule: Rule
  • MaxLengthRule is a subclass of Rule that defines how maximum character length is validated.

    See more

    Declaration

    Swift

    public class MaxLengthRule: Rule
  • ExactLengthRule is a subclass of Rule that is used to make sure a the text of a text field is an exact length.

    See more

    Declaration

    Swift

    public class ExactLengthRule : Rule