TextFieldType

public enum TextFieldType

TextFieldType is an enum that represents the possible types for a TextField. The chosen type indicates what kind of content will be received from the textField, and adjusts keyboard, autocorrection, capitalization and security for the textField input.

These are all types allowed for a TextField:

  • text
  • number
  • name
  • password
  • Undocumented

    Declaration

    Swift

    case text
  • Undocumented

    Declaration

    Swift

    case name
  • Undocumented

    Declaration

    Swift

    case number
  • Undocumented

    Declaration

    Swift

    case password(keyboardType: UIKeyboardType = .default)