-
Undocumented
Declaration
Swift
open var shouldAllowViolation: Bool
-
Undocumented
Declaration
Swift
open var validateOnFocusLossOnly: Bool
-
Undocumented
Declaration
Swift
public let validator: Validator
-
Validator delegate for the text field.
See also
setValidatorDelegate(_:)
to set the validator delegate.Declaration
Swift
open var validatorDelegate: ValidatorControlDelegate? { get }
-
Undocumented
Declaration
Swift
open var validatableText: String? { get }
-
Sets the
validatorDelegate
for the text field. This allows custom responses to bothUITextFieldDelegate
callbacks as well as those fromValidatorControlDelegate
.Declaration
Swift
open func setValidatorDelegate(_ newDelegate: ValidatorControlDelegate & UITextFieldDelegate)
Parameters
newDelegate
The delegate for
ValidatorTextField
callbacks.
-
Undocumented
Declaration
Swift
open func validatorTextFieldSuccededConditions()
-
Undocumented
Declaration
Swift
open func validatorTextFieldViolatedConditions(_ conditions: [Condition])