FieldValidationProtocol
public protocol FieldValidationProtocol
Protocol which declares the public interfaces on the FieldValidation. This service can use to validate a single field.
-
Field identifier
Declaration
Swift
var fieldId: Int { get }
-
The object that acts as the delegate of FieldValidation
Declaration
Swift
var delegate: FieldValidationDelegate? { get set }
-
The object that acts as the data source of FieldValidation
Declaration
Swift
var dataSource: FieldValidationDataSource? { get set }
-
A Boolean value indicating that the validation process is enabled for the given field
Declaration
Swift
var isEnabled: Bool { get set }
-
Validates the given field
Declaration
Swift
func validateField()