{"Structs/ValidatorDictionary.html#/s:FV14SwiftValidator19ValidatorDictionary9removeAllFT_T_":{"name":"removeAll()","abstract":"
Undocumented
","parent_name":"ValidatorDictionary"},"Structs/ValidatorDictionary.html#/s:FV14SwiftValidator19ValidatorDictionary17removeValueForKeyFPs9AnyObjectS_11Validatable_T_":{"name":"removeValueForKey(_:)","abstract":"Undocumented
","parent_name":"ValidatorDictionary"},"Structs/ValidatorDictionary.html#/s:vV14SwiftValidator19ValidatorDictionary7isEmptySb":{"name":"isEmpty","abstract":"Undocumented
","parent_name":"ValidatorDictionary"},"Structs/ValidatorDictionary.html#/s:FPs8Sequence12makeIteratorFT_wx8Iterator":{"name":"makeIterator()","parent_name":"ValidatorDictionary"},"Structs/ValidatorDictionary.html":{"name":"ValidatorDictionary","abstract":"Undocumented
"},"Protocols/ValidationDelegate.html#/s:FP14SwiftValidator18ValidationDelegate20validationSuccessfulFT_T_":{"name":"validationSuccessful()","abstract":"This method will be called on delegate object when validation is successful.
","parent_name":"ValidationDelegate"},"Protocols/ValidationDelegate.html#/s:FP14SwiftValidator18ValidationDelegate16validationFailedFGSaTPS_11Validatable_CS_15ValidationError__T_":{"name":"validationFailed(_:)","abstract":"This method will be called on delegate object when validation fails.
","parent_name":"ValidationDelegate"},"Protocols/Validatable.html#/s:vP14SwiftValidator11Validatable14validationTextSS":{"name":"validationText","abstract":"Undocumented
","parent_name":"Validatable"},"Protocols/Rule.html#/s:FP14SwiftValidator4Rule8validateFSSSb":{"name":"validate(_:)","abstract":"Validates text of a field.
","parent_name":"Rule"},"Protocols/Rule.html#/s:FP14SwiftValidator4Rule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Displays error message of a field that has failed validation.
","parent_name":"Rule"},"Protocols/Rule.html":{"name":"Rule","abstract":"The Rule protocol declares the required methods for all objects that subscribe to it.
Undocumented
"},"Protocols/ValidationDelegate.html":{"name":"ValidationDelegate","abstract":"Protocol for ValidationDelegate adherents, which comes with two required methods that are called depending on whether validation succeeded or failed.
Undocumented
","parent_name":"UITextField"},"Extensions/UITextField.html":{"name":"UITextField","abstract":"Undocumented
"},"Classes/ExactLengthRule.html#/s:FC14SwiftValidator15ExactLengthRulecFT6lengthSi7messageSS_S0_":{"name":"init(length:message:)","abstract":"Initializes an ExactLengthRule object to validate the text of a field against an exact length.
Used to validate a field.
","parent_name":"ExactLengthRule"},"Classes/ExactLengthRule.html#/s:FC14SwiftValidator15ExactLengthRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Displays error message if a field fails validation.
","parent_name":"ExactLengthRule"},"Classes/MaxLengthRule.html#/s:FC14SwiftValidator13MaxLengthRulecFT_S0_":{"name":"init()","parent_name":"MaxLengthRule"},"Classes/MaxLengthRule.html#/s:FC14SwiftValidator13MaxLengthRulecFT6lengthSi7messageSS_S0_":{"name":"init(length:message:)","abstract":"Initializes a MaxLengthRule object that is to validate the length of the text of a field.
Used to validate a field.
","parent_name":"MaxLengthRule"},"Classes/MaxLengthRule.html#/s:FC14SwiftValidator13MaxLengthRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Displays an error message if a field fails validation.
","parent_name":"MaxLengthRule"},"Classes/MinLengthRule.html#/s:FC14SwiftValidator13MinLengthRulecFT_S0_":{"name":"init()","parent_name":"MinLengthRule"},"Classes/MinLengthRule.html#/s:FC14SwiftValidator13MinLengthRulecFT6lengthSi7messageSS_S0_":{"name":"init(length:message:)","abstract":"Initializes a MaxLengthRule object that is to validate the length of the text of a field.
Validates a field.
","parent_name":"MinLengthRule"},"Classes/MinLengthRule.html#/s:FC14SwiftValidator13MinLengthRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Displays error message when field has failed validation.
","parent_name":"MinLengthRule"},"Classes/AlphaRule.html#/s:FC14SwiftValidator9AlphaRulecFT7messageSS_S0_":{"name":"init(message:)","abstract":"Initializes an AlphaRule object to verify that a field has valid set of alpha characters.
Initializes a IntegerRule object to validate that the text of a field is only Integer.
Used to validate field.
","parent_name":"IntegerRule"},"Classes/IntegerRule.html#/s:FC14SwiftValidator11IntegerRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Displays error message when field fails validation.
","parent_name":"IntegerRule"},"Classes/RegexRule.html#/s:FC14SwiftValidator9RegexRulecFT5regexSS7messageSS_S0_":{"name":"init(regex:message:)","abstract":"Method used to initialize RegexRule object.
Method used to validate field.
","parent_name":"RegexRule"},"Classes/RegexRule.html#/s:FC14SwiftValidator9RegexRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Method used to dispaly error message when field fails validation.
","parent_name":"RegexRule"},"Classes/RequiredRule.html#/s:FC14SwiftValidator12RequiredRulecFT7messageSS_S0_":{"name":"init(message:)","abstract":"Initializes RequiredRule object with error message. Used to validate a field that requires text.
Validates a field.
","parent_name":"RequiredRule"},"Classes/RequiredRule.html#/s:FC14SwiftValidator12RequiredRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Used to display error message when validation fails.
","parent_name":"RequiredRule"},"Classes/ValidationError.html#/s:vC14SwiftValidator15ValidationError5fieldPs9AnyObjectS_11Validatable_":{"name":"field","abstract":"the Validatable field of the field
","parent_name":"ValidationError"},"Classes/ValidationError.html#/s:vC14SwiftValidator15ValidationError10errorLabelGSqCSo7UILabel_":{"name":"errorLabel","abstract":"the error label of the field
","parent_name":"ValidationError"},"Classes/ValidationError.html#/s:vC14SwiftValidator15ValidationError12errorMessageSS":{"name":"errorMessage","abstract":"the error message of the field
","parent_name":"ValidationError"},"Classes/ValidationError.html#/s:FC14SwiftValidator15ValidationErrorcFT5fieldPs9AnyObjectS_11Validatable_10errorLabelGSqCSo7UILabel_5errorSS_S0_":{"name":"init(field:errorLabel:error:)","abstract":"Initializes ValidationError object with a field, errorLabel, and errorMessage.
Initializes a ISBNRule object to verify that field has text that is a ISBN number.
Method used to validate field.
","parent_name":"ISBNRule"},"Classes/ISBNRule.html#/s:FC14SwiftValidator8ISBNRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Method used to dispaly error message when field fails validation.
","parent_name":"ISBNRule"},"Classes/IPV4Rule.html#/s:FC14SwiftValidator8IPV4RulecFT7messageSS_S0_":{"name":"init(message:)","abstract":"Initializes a IPV4Rule object to verify that field has text is an IPV4Rule address.
Initializes a ConfirmationRule object to validate the text of a field that should equal the text of another field.
Used to validate a field.
","parent_name":"ConfirmationRule"},"Classes/ConfirmationRule.html#/s:FC14SwiftValidator16ConfirmationRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Displays an error message when text field fails validation.
","parent_name":"ConfirmationRule"},"Classes/ValidationRule.html#/s:vC14SwiftValidator14ValidationRule5fieldPs9AnyObjectS_11Validatable_":{"name":"field","abstract":"the field of the field
","parent_name":"ValidationRule"},"Classes/ValidationRule.html#/s:vC14SwiftValidator14ValidationRule10errorLabelGSqCSo7UILabel_":{"name":"errorLabel","abstract":"the errorLabel of the field
","parent_name":"ValidationRule"},"Classes/ValidationRule.html#/s:vC14SwiftValidator14ValidationRule5rulesGSaPS_4Rule__":{"name":"rules","abstract":"the rules of the field
","parent_name":"ValidationRule"},"Classes/ValidationRule.html#/s:FC14SwiftValidator14ValidationRulecFT5fieldPs9AnyObjectS_11Validatable_5rulesGSaPS_4Rule__10errorLabelGSqCSo7UILabel__S0_":{"name":"init(field:rules:errorLabel:)","abstract":"Initializes ValidationRule instance with field, rules, and errorLabel.
Used to validate field against its validation rules.
","parent_name":"ValidationRule"},"Classes/Validator.html#/s:vC14SwiftValidator9Validator11validationsGVS_19ValidatorDictionaryCS_14ValidationRule_":{"name":"validations","abstract":"Dictionary to hold all fields (and accompanying rules) that will undergo validation.
","parent_name":"Validator"},"Classes/Validator.html#/s:vC14SwiftValidator9Validator6errorsGVS_19ValidatorDictionaryCS_15ValidationError_":{"name":"errors","abstract":"Dictionary to hold fields (and accompanying errors) that were unsuccessfully validated.
","parent_name":"Validator"},"Classes/Validator.html#/s:FC14SwiftValidator9ValidatorcFT_S0_":{"name":"init()","parent_name":"Validator"},"Classes/Validator.html#/s:FC14SwiftValidator9Validator13validateFieldFTPs9AnyObjectS_11Validatable_8callbackFGSqCS_15ValidationError_T__T_":{"name":"validateField(_:callback:)","abstract":"This method is used to validate a single field registered to Validator. If validation is unsuccessful,","parent_name":"Validator"},"Classes/Validator.html#/s:FC14SwiftValidator9Validator17styleTransformersFT7successGSqFCS_14ValidationRuleT__5errorGSqFCS_15ValidationErrorT___T_":{"name":"styleTransformers(success:error:)","abstract":"
This method is used to style fields that have undergone validation checks. Success callback should be used to show common success styling and error callback should be used to show common error styling.
","parent_name":"Validator"},"Classes/Validator.html#/s:FC14SwiftValidator9Validator13registerFieldFTPs9AnyObjectS_11Validatable_10errorLabelGSqCSo7UILabel_5rulesGSaPS_4Rule___T_":{"name":"registerField(_:errorLabel:rules:)","abstract":"This method is used to add a field to validator.
","parent_name":"Validator"},"Classes/Validator.html#/s:FC14SwiftValidator9Validator15unregisterFieldFPs9AnyObjectS_11Validatable_T_":{"name":"unregisterField(_:)","abstract":"This method is for removing a field validator.
","parent_name":"Validator"},"Classes/Validator.html#/s:FC14SwiftValidator9Validator8validateFPS_18ValidationDelegate_T_":{"name":"validate(_:)","abstract":"This method checks to see if all fields in validator are valid.
","parent_name":"Validator"},"Classes/Validator.html#/s:FC14SwiftValidator9Validator8validateFFGSaTPS_11Validatable_CS_15ValidationError__T_T_":{"name":"validate(_:)","abstract":"This method validates all fields in validator and sets any errors to errors parameter of callback.
","parent_name":"Validator"},"Classes/HexColorRule.html#/s:FC14SwiftValidator12HexColorRulecFT7messageSS_S0_":{"name":"init(message:)","abstract":"Initializes a HexaColorRule object to verify that field has text in hexadecimal color format.
Initializes a FloatRule object to validate that the text of a field is a floating point number.
Used to validate field.
","parent_name":"FloatRule"},"Classes/FloatRule.html#/s:FC14SwiftValidator9FloatRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Displays error message when field fails validation.
","parent_name":"FloatRule"},"Classes/PhoneNumberRule.html#/s:FC14SwiftValidator15PhoneNumberRulecFT7messageSS_S0_":{"name":"init(message:)","abstract":"Initializes a PhoneNumberRule object. Used to validate that a field has a valid phone number.
Initializes a CharacterSetRule object to verify that field has valid set of characters.
Used to validate field.
","parent_name":"CharacterSetRule"},"Classes/CharacterSetRule.html#/s:FC14SwiftValidator16CharacterSetRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Displays error message when field fails validation.
","parent_name":"CharacterSetRule"},"Classes/AlphaNumericRule.html#/s:FC14SwiftValidator16AlphaNumericRulecFT7messageSS_S0_":{"name":"init(message:)","abstract":"Initializes a AlphaNumericRule object to verify that field has valid set of alphanumeric characters.
Initializes a PasswordRule object that will validate a field is a valid password.
Initializes a ZipCodeRule object.
Initializes a FullNameRule object that is used to verify that text in field is a full name.
Used to validate a field.
","parent_name":"FullNameRule"},"Classes/FullNameRule.html#/s:FC14SwiftValidator12FullNameRule12errorMessageFT_SS":{"name":"errorMessage()","abstract":"Used to display error message of a field that has failed validation.
","parent_name":"FullNameRule"},"Classes/EmailRule.html#/s:FC14SwiftValidator9EmailRulecFT7messageSS_S0_":{"name":"init(message:)","abstract":"Initializes an EmailRule object to validate an email field.
EmailRule is a subclass of RegexRule that defines how a email is validated.
FullNameRule is a subclass of Rule that defines how a full name is validated.
ZipCodeRule is a subclass of RegexRule that represents how zip codes are to be validated.
PasswordRule is a subclass of RegexRule that defines how a password is validated.
AlphaNumericRule is a subclass of CharacterSetRule. It is used to verify that a field has a"},"Classes/CharacterSetRule.html":{"name":"CharacterSetRule","abstract":"
CharacterSetRule is a subclass of Rule. It is used to validate IPV4 address fields.
PhoneNumberRule is a subclass of Rule that defines how a phone number is validated.
FloatRule is a subclass of Rule that defines how check if a value is a floating point value.
HexColorRule is a subclass of RegexRule. It is used to verify whether a field is a hexadecimal color.
Class that makes Validator objects. Should be added as a parameter to ViewController that will display"},"Classes/ValidationRule.html":{"name":"ValidationRule","abstract":"
ValidationRule is a class that creates an object which holds validation info of a field.
ConfirmationRule is a subclass of Rule that defines how a field that has to be equal"},"Classes/IPV4Rule.html":{"name":"IPV4Rule","abstract":"
IPV4Rule is a subclass of RegexRule that defines how a IPV4 address validated.
ISBNRule is a subclass of Rule. It is used to verify whether a field is a valid ISBN number.
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.
RequiredRule is a subclass of Rule that defines how a required field is validated.
RegexRule is a subclass of Rule that defines how a regular expression is validated.
IntegerRule is a subclass of Rule that is used to make sure a the text of a field is an integer.
AlphaRule is a subclass of CharacterSetRule. It is used to verify that a field has a"},"Classes/MinLengthRule.html":{"name":"MinLengthRule","abstract":"
MinLengthRule is a subclass of Rule that defines how minimum character length is validated.
MaxLengthRule is a subclass of Rule that defines how maximum character length is validated.
ExactLengthRule is a subclass of Rule that is used to make sure a the text of a field is an exact length.
The following classes are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structs","abstract":"The following structs are available globally.
"}}