initial swift data conversion

This commit is contained in:
Garth Vander Houwen 2026-04-16 12:10:00 -07:00
parent 183924d4dc
commit b2c72ae166
130 changed files with 2939 additions and 2269 deletions

View file

@ -48,7 +48,7 @@ class MetricsTableColumn: ObservableObject {
visible: Bool = true,
@ViewBuilder tableBody: @escaping (MetricsTableColumn, Value) -> TableContent?
) {
// This works because TelemetryEntity is an NSManagedObject and derrived from NSObject
// This works because TelemetryEntity is an @Model and conforms to PersistentModel
self.id = id
self.name = name
self.abbreviatedName = abbreviatedName

View file

@ -59,7 +59,7 @@ class MetricsChartSeries: ObservableObject {
@ChartContentBuilder chartBody: @escaping (MetricsChartSeries, ClosedRange<Float>?, Date, Value) -> ChartBody?
) {
// This works because TelemetryEntity is an NSManagedObject and derrived from NSObject
// This works because TelemetryEntity is an @Model and conforms to PersistentModel
self.id = id
self.name = name
self.abbreviatedName = abbreviatedName