-
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 view.
See also
setValidatorDelegate(_:) to set the validator delegate.Declaration
Swift
open var validatorDelegate: ValidatorControlDelegate? { get } -
Undocumented
Declaration
Swift
open var validatableText: String? { get }
-
Undocumented
Declaration
Swift
public convenience init(validator: Validator) -
Undocumented
Declaration
Swift
public convenience init(frame: CGRect, validator: Validator) -
Undocumented
Declaration
Swift
public init(frame: CGRect, textContainer: NSTextContainer?, validator: Validator) -
Undocumented
Declaration
Swift
public required init?(coder aDecoder: NSCoder) -
Undocumented
Declaration
Swift
deinit
-
Sets the
validatorDelegatefor the text view. This allows custom responses to bothUITextViewDelegatecallbacks as well as those fromValidatorControlDelegate.Declaration
Swift
open func setValidatorDelegate(_ newDelegate: ValidatorControlDelegate & UITextViewDelegate)Parameters
newDelegateThe delegate for
ValidatorTextViewcallbacks.
-
Undocumented
Declaration
Swift
open func validatorTextViewSuccededConditions() -
Undocumented
Declaration
Swift
open func validatorTextViewViolatedConditions(_ conditions: [Condition])
View on GitHub
ValidatorTextView Class Reference