DurationPicker

public struct DurationPicker
extension DurationPicker: View

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(model: DurationPickerModel)
  • Undocumented

    Declaration

    Swift

    public init(selection: Binding<Int>, maximumMinutes: Int = 1439, minimumMinutes: Int = 0, minuteInterval: Int = 1, measurementFormatter: MeasurementFormatter = MeasurementFormatter())
  • Declaration

    Swift

    public var body: some View { get }
  • Measurement formatter for duration picker.

    Declaration

    Swift

    public func measurementFormatter(_ measurementFormatter: MeasurementFormatter) -> DurationPicker

    Parameters

    measurementFormatter

    measurement formatter you wanted for picker titles.

    Return Value

    return a new duration picker with the measurement formatter.