RSDFormUIHint

public struct RSDFormUIHint : RawRepresentable, Codable, Hashable

The RSDFormUIHint enum is a key word that can be used to describe the preferred UI for a form input field. This is intended as a hint that the designers and developers can use to indicate the preferred input style for an input field. Not all ui hints are applicable to all data types or devices, and therefore the ui hint may be ignored by the application displaying the input field to the user.

  • Declaration

    Swift

    public let rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)
  • Input field of a button-style cell that can be used to display a detail view.

    Declaration

    Swift

    public static let button: RSDFormUIHint
  • List with a checkbox next to each item.

    Declaration

    Swift

    public static let checkbox: RSDFormUIHint
  • Drop-down with a textfield for other.

    Declaration

    Swift

    public static let combobox: RSDFormUIHint
  • Input field of a disclosure arrow cell that can be used to display a detail view.

    Declaration

    Swift

    public static let disclosureArrow: RSDFormUIHint
  • Input field of a link-style cell that can be used to display a detail view.

    Declaration

    Swift

    public static let link: RSDFormUIHint
  • List of selectable cells.

    Declaration

    Swift

    public static let list: RSDFormUIHint
  • Multiple line text view.

    Declaration

    Swift

    public static let multipleLine: RSDFormUIHint
  • Text field with a picker wheel as the keyboard.

    Declaration

    Swift

    public static let picker: RSDFormUIHint
  • Text entry using a modal popover box.

    Declaration

    Swift

    public static let popover: RSDFormUIHint
  • Radio button.

    Declaration

    Swift

    public static let radioButton: RSDFormUIHint
  • Input field for a detail that is displayed inline as a section.

    Declaration

    Swift

    public static let section: RSDFormUIHint
  • Slider.

    Declaration

    Swift

    public static let slider: RSDFormUIHint
  • Text field.

    Declaration

    Swift

    public static let textfield: RSDFormUIHint
  • Toggle (segmented) button.

    Declaration

    Swift

    public static let toggle: RSDFormUIHint
  • A list of all the RSDFormUIHint values that are standard hints.

    Declaration

    Swift

    public static var allStandardHints: Set<RSDFormUIHint> { get }
  • Declaration

    Swift

    public static func == (lhs: RSDFormUIHint, rhs: RSDFormUIHint) -> Bool