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? -
The localized text presented to the user when invalid input is received.
Declaration
Swift
var invalidMessage: String? -
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 -
Is the text field for password entry?
Declaration
Swift
var isSecureTextEntry: Bool -
Auto-capitalization type for the text field.
Declaration
Swift
var autocapitalizationType: RSDTextAutocapitalizationType -
Auto-correction type for the text field.
Declaration
Swift
var autocorrectionType: RSDTextAutocorrectionType -
Spell checking type for the text field.
Declaration
Swift
var spellCheckingType: RSDTextSpellCheckingType -
Keyboard type for the text field.
Declaration
Swift
var keyboardType: RSDKeyboardType
View on GitHub
RSDTextFieldOptions Protocol Reference