Contents

HomeAccessoryRangeSetting

A setting that represents a numeric value within a range.

Declaration

@propertyWrapper final class HomeAccessoryRangeSetting<Value> where Value : Comparable, Value : Numeric

Overview

The Home app presents this setting as a slider. The slider appears only when the setting has both a lower and an upper bound.

Topics

Creating a range setting

Configuring presentation

Accessing the value

See Also

Defining accessory settings