RSDFormUIHint
public struct RSDFormUIHint : RawRepresentable, Codable
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 private(set) var rawValue: String
-
Declaration
Swift
public init(rawValue: String)
-
list with a checkbox next to each item
Declaration
Swift
public static let checkbox: RSDFormUIHint = "checkbox"
-
drop-down with a textfield for
other
Declaration
Swift
public static let combobox: RSDFormUIHint = "combobox"
-
list
Declaration
Swift
public static let list: RSDFormUIHint = "list"
-
multiple line text field
Declaration
Swift
public static let multipleLine: RSDFormUIHint = "multipleLine"
-
picker wheel
Declaration
Swift
public static let picker: RSDFormUIHint = "picker"
-
Text entry using a modal popover box
Declaration
Swift
public static let popover: RSDFormUIHint = "popover"
-
radio button
Declaration
Swift
public static let radioButton: RSDFormUIHint = "radioButton"
-
slider
Declaration
Swift
public static let slider: RSDFormUIHint = "slider"
-
text field
Declaration
Swift
public static let textfield: RSDFormUIHint = "textfield"
-
toggle (segmented) button
Declaration
Swift
public static let toggle: RSDFormUIHint = "toggle"
-
The standard type for this ui hint, if applicable.
Declaration
Swift
public var standardType: RSDFormUIHint?
-
A list of all the
RSDFormUIHint
values that are standard hints.Declaration
Swift
public static var allStandardHints: Set<RSDFormUIHint>
-
Declaration
Swift
public static func ==(lhs: RSDFormUIHint, rhs: RSDFormUIHint) -> Bool
-
Undocumented
Declaration
Swift
public static func ==(lhs: String, rhs: RSDFormUIHint) -> Bool
-
Undocumented
Declaration
Swift
public static func ==(lhs: RSDFormUIHint, rhs: String) -> Bool
-
Declaration
Swift
public var hashValue : Int
-
Declaration
Swift
public init(stringLiteral value: String)