Initializer

init(target:action:)

Creates and returns a continuous horizontal slider whose values range from 0.0 to 1.0.

Declaration

convenience init(target: Any?, action: Selector?)

Parameters

target

The target object that receives action messages from the control.

action

The action message sent by the control.

Return Value

An initialized slider control.

See Also

Creating Sliders

init(value: Double, minValue: Double, maxValue: Double, target: Any?, action: Selector?)

Creates and returns a continuous horizontal slider that represents values over the specified range.