Protocol
DSSelectControl
@objc public protocol DSSelectControl: AnyObject
A protocol extension for select controls.
Relationships
Conforms To
AnyObject
Types Conforming to DSSelectControl
DSSelectTableViewCell
An Enterprise-styled option selection cell. This should be used when a user needs to select a value from a set of options. Only for use as a cell in UITableView.
DSSelect
An Enterprise-styled option selection. This should be used when a user needs to select a value from a set of options.
Default Implementations
showOptionSelection(on:)
func showOptionSelection(on navigationController: UINavigationController?)
Displays the options screen by navigating via UINavigationController.
Parameters
Name | Type | Description |
---|---|---|
on | UINavigationController? |
The UINavigationController to push the options screen on to |
Requirements
options
var options: [DSSelectOption]
The ordered list of valid values that can be selected for this field.
labelText
var labelText: String?
The text to be displayed in the label.