From 1a67207c763e60c07a3caed64628fd282c3c5507 Mon Sep 17 00:00:00 2001 From: Pete Schwamb Date: Sat, 31 Oct 2026 20:26:11 -0500 Subject: [PATCH] Import LoopKit instead of LoopAlgorithm LoopKit owns the units and value types now. --- CGMBLEKit Example/ViewController.swift | 2 +- CGMBLEKit/Calibration.swift | 2 +- CGMBLEKit/Command.swift | 2 +- CGMBLEKit/Glucose+SensorDisplayable.swift | 1 - CGMBLEKit/Glucose.swift | 2 +- CGMBLEKit/TransmitterManager.swift | 1 - CGMBLEKitUI/TransmitterSettingsViewController.swift | 1 - 7 files changed, 4 insertions(+), 7 deletions(-) diff --git a/CGMBLEKit Example/ViewController.swift b/CGMBLEKit Example/ViewController.swift index 42a754a6..b48aca2a 100644 --- a/CGMBLEKit Example/ViewController.swift +++ b/CGMBLEKit Example/ViewController.swift @@ -7,7 +7,7 @@ // import CGMBLEKit -import LoopAlgorithm +import LoopKit import UIKit class ViewController: UIViewController, TransmitterDelegate, UITextFieldDelegate { diff --git a/CGMBLEKit/Calibration.swift b/CGMBLEKit/Calibration.swift index 80768a53..cabe70ee 100644 --- a/CGMBLEKit/Calibration.swift +++ b/CGMBLEKit/Calibration.swift @@ -7,7 +7,7 @@ // import Foundation -import LoopAlgorithm +import LoopKit public struct Calibration { diff --git a/CGMBLEKit/Command.swift b/CGMBLEKit/Command.swift index 7568f102..079863bd 100644 --- a/CGMBLEKit/Command.swift +++ b/CGMBLEKit/Command.swift @@ -7,7 +7,7 @@ // import Foundation -import LoopAlgorithm +import LoopKit public enum Command: RawRepresentable { public typealias RawValue = [String: Any] diff --git a/CGMBLEKit/Glucose+SensorDisplayable.swift b/CGMBLEKit/Glucose+SensorDisplayable.swift index 7832228b..e37feaa4 100644 --- a/CGMBLEKit/Glucose+SensorDisplayable.swift +++ b/CGMBLEKit/Glucose+SensorDisplayable.swift @@ -8,7 +8,6 @@ import Foundation import LoopKit -import LoopAlgorithm extension Glucose: GlucoseDisplayable { diff --git a/CGMBLEKit/Glucose.swift b/CGMBLEKit/Glucose.swift index ddd6c4de..346692fe 100644 --- a/CGMBLEKit/Glucose.swift +++ b/CGMBLEKit/Glucose.swift @@ -7,7 +7,7 @@ // import Foundation -import LoopAlgorithm +import LoopKit enum GlucoseLimits { static var minimum: UInt16 = 40 diff --git a/CGMBLEKit/TransmitterManager.swift b/CGMBLEKit/TransmitterManager.swift index 9ef286f6..40d20821 100644 --- a/CGMBLEKit/TransmitterManager.swift +++ b/CGMBLEKit/TransmitterManager.swift @@ -6,7 +6,6 @@ // import HealthKit -import LoopAlgorithm import LoopKit import ShareClient import os.log diff --git a/CGMBLEKitUI/TransmitterSettingsViewController.swift b/CGMBLEKitUI/TransmitterSettingsViewController.swift index 08978ecc..d75f006a 100644 --- a/CGMBLEKitUI/TransmitterSettingsViewController.swift +++ b/CGMBLEKitUI/TransmitterSettingsViewController.swift @@ -7,7 +7,6 @@ import UIKit import Combine -import LoopAlgorithm import SwiftUI import HealthKit import LoopKit