ValidationRuleProtocol
public protocol ValidationRuleProtocol
This protocol contains the public properties and functions for a specific validation rule for a single field.
-
Undocumented
Declaration
Swift
associatedtype InputType
-
Undocumented
Declaration
Swift
var message: String { get }
-
Undocumented
Declaration
Swift
var tag: Int? { get }
-
Undocumented
Declaration
Swift
func validate(value: InputType) -> Bool