APLIconSlider
Objective-C
enum APLIconSlider : NSInteger {}
Swift
enum APLIconSlider : Int, @unchecked Sendable
Target availability: iOS apps, iOS app extensions, watchOS apps, watchOS app extensions.
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)
var speakerVolume: Float
-
Tortise, Hare icon
Declaration
Objective-C
APLIconSliderSpeedSwift
case speed = 0 -
Battery icon
Declaration
Objective-C
APLIconSliderCapacitySwift
case capacity = 1 -
0/1 icon
Declaration
Objective-C
APLIconSliderNumericSwift
case numeric = 2 -
Brightness icon
Declaration
Objective-C
APLIconSliderBrightnessSwift
case brightness = 3 -
Speaker icon
Declaration
Objective-C
APLIconSliderVolumeSwift
case volume = 4
View on GitHub
Install in Dash