DataPickerItem

public struct DataPickerItem

DataPickerItem presents an item in the DataPicker.

Author

Adamas

Version

1.5.0

Date

15/08/2019
  • Initialize a item.

    Declaration

    Swift

    public init(name: String? = nil,
                value: String)

    Parameters

    name

    The name of the item. If it is nil, the value will be set as name instead.

    value

    The value of the item.