ValidationDelegate
public protocol ValidationDelegate
Protocol for ValidationDelegate adherents, which comes with two required methods that are called depending on whether validation succeeded or failed.
-
This method will be called on delegate object when validation is successful.
Declaration
Swift
func validationSuccessful()Return Value
No return value.
-
This method will be called on delegate object when validation fails.
Declaration
Swift
func validationFailed(_ errors: [(Validatable, ValidationError)])Return Value
No return value.
ValidationDelegate Protocol Reference