ISBNRule
public class ISBNRule: RuleISBNRule is a subclass of Rule. It is used to verify whether a field is a valid ISBN number.
- 
                  
                  Initializes a ISBNRuleobject to verify that field has text that is a ISBN number.DeclarationSwift public init(message: String = "Enter valid ISBN number")ParametersmessageString of error message. Return ValueAn initialized object, or nil if an object could not be created for some reason that would not result in an exception. 
- 
                  
                  Method used to validate text field. DeclarationSwift public func validate(value: String) -> BoolParametersvalueString to checked for validation. Return ValueBoolean value. True if validation is successful; False if validation fails. 
- 
                  
                  Method used to dispaly error message when text field fails validation. DeclarationSwift public func errorMessage() -> StringReturn ValueString of error message. 
 ISBNRule Class Reference
        ISBNRule Class Reference