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
  • PasswordRule is a subclass of RegexRule that defines how a password is validated.

    See more

    Declaration

    Swift

    public class PasswordRule : RegexRule
  • 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
  • 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 field.

    See more

    Declaration

    Swift

    public class ValidationRule
  • ConfirmationRule is a subclass of Rule that defines how a field that has to be equal to another 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 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 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

    open class RegexRule : Rule
  • IntegerRule is a subclass of Rule that is used to make sure a the text of a field is an integer.

    See more

    Declaration

    Swift

    public class IntegerRule : Rule
  • 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 field is an exact length.

    See more

    Declaration

    Swift

    public class ExactLengthRule : Rule