-
Undocumented
Declaration
Swift
open var shouldAllowViolation = false
-
Undocumented
Declaration
Swift
open var validateOnFocusLossOnly = false
-
Undocumented
Declaration
Swift
open let validator: Validator
-
Validator delegate for the text field.
See also
setValidatorDelegate(_:)
to set the validator delegate.Declaration
Swift
open weak var validatorDelegate: ValidatorControlDelegate?
-
Undocumented
Declaration
Swift
open var validatableText: String?
-
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])