RSDTextFieldOptions
public protocol RSDTextFieldOptions
RSDTextFieldOptions defines the options for a text field.
-
A custom text validator that can be used to validate a string.
Declaration
Swift
var textValidator: RSDTextValidator? { get } -
The localized text presented to the user when invalid input is received.
Declaration
Swift
var invalidMessage: String? { get } -
The maximum length of the text users can enter. When the value of this property is 0, there is no maximum.
Declaration
Swift
var maximumLength: Int { get } -
Is the text field for password entry?
Declaration
Swift
var isSecureTextEntry: Bool { get } -
Auto-capitalization type for the text field.
Declaration
Swift
var autocapitalizationType: RSDTextAutocapitalizationType { get } -
Auto-correction type for the text field.
Declaration
Swift
var autocorrectionType: RSDTextAutocorrectionType { get } -
Spell checking type for the text field.
Declaration
Swift
var spellCheckingType: RSDTextSpellCheckingType { get } -
Keyboard type for the text field.
Declaration
Swift
var keyboardType: RSDKeyboardType { get }
View on GitHub
RSDTextFieldOptions Protocol Reference