Contents

init(_:symbolName:values:)

Creates a discrete slider control that selects a value from a list.

Declaration

@nonobjc convenience init(_ localizedTitle: String, symbolName: String, values: [Float])

Parameters

  • localizedTitle:

    A localized title that describes the slider’s action.

  • symbolName:

    A symbol name from the SF Symbols library.

  • values:

    An array of floating-point values.

Discussion

Use discrete sliders when your app supports selecting from a specific list of values.

See Also

Creating a slider