EnumSetting

public class EnumSetting<EnumType> where EnumType : Hashable

Represents an enum setting.

  • Tells if the setting value has been changed and is waiting for change confirmation.

    Declaration

    Swift

    public var updating: Bool { get }
  • Set of values supported by this setting.

    Declaration

    Swift

    public var supportedValues: Set<EnumType> { get }
  • Current setting value.

    Declaration

    Swift

    public var value: EnumType { get set }