RecentGaugeActor
actor RecentGaugeActor
An actor that manages the recent gauges. The recent gauges are stored in the user defaults. Max 10 recent gauges are stored.
-
Undocumented
Declaration
Swift
public func deleteAll()
-
Undocumented
Declaration
Swift
static let shared: RecentGaugeActor
-
Gauges that have been viewed recently.
Declaration
Swift
var recentGauges: [RecentGauge] { get set }
-
Adds a gauge to the recent gauges list.
Declaration
Swift
func addRecentGauge(gaugeID: PersistentIdentifier, name: String, state: String)