APLIconSlider

Objective-C

enum APLIconSlider : NSInteger {}

Swift

enum APLIconSlider : Int, @unchecked Sendable

Availability: All.

The graphical icons to be displayed for any configuration properties that are implemented using any of the INT_PROPERTY_SLIDER, FLOAT_PROPERTY_SLIDER, DOUBLE_PROPERTY_SLIDER Objective-C macros or IntPropertySlider, FloatPropertySlider, DoublePropertySlider Swift property wrappers.

Objective-C example

FLOAT_PROPERTY_SLIDER(speakerVolume, 0.0, 1000.0, APLIconSliderVolume, @"Speaker loudness", NO);

Swift example

@FloatPropertySlider(min: 0.0, max: 1000.0, icon: .volume, description: "Speaker loudness", restart: false)
@objc var speakerVolume: Float