-
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
validatorDelegatefor the text field. This allows custom responses to bothUITextFieldDelegatecallbacks as well as those fromValidatorControlDelegate.Declaration
Swift
open func setValidatorDelegate(_ newDelegate: ValidatorControlDelegate & UITextFieldDelegate)Parameters
newDelegateThe delegate for
ValidatorTextFieldcallbacks.
-
Undocumented
Declaration
Swift
open func validatorTextFieldSuccededConditions() -
Undocumented
Declaration
Swift
open func validatorTextFieldViolatedConditions(_ conditions: [Condition])
View on GitHub
ValidatorTextField Class Reference