From 5f2b55982b052fa2159df9814ac1adab4d73ba4b Mon Sep 17 00:00:00 2001 From: Nathaniel Hamming Date: Mon, 25 Sep 2023 15:45:21 -0300 Subject: [PATCH 1/9] [COASTAL-1291] plugin identifier is no longer class property (#13) --- LoopSupportKitUI/LoopSupportUI.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LoopSupportKitUI/LoopSupportUI.swift b/LoopSupportKitUI/LoopSupportUI.swift index 45f6790..3354009 100644 --- a/LoopSupportKitUI/LoopSupportUI.swift +++ b/LoopSupportKitUI/LoopSupportUI.swift @@ -13,7 +13,7 @@ import LoopKitUI public final class LoopSupportUI: SupportUI { - public static var pluginIdentifier: String = "LoopSupportUI" + public var pluginIdentifier: String = "LoopSupportUI" private var analytics = LoopKitAnalytics.shared From 810f0d6f985b2431d86f42689ba188122aebfa11 Mon Sep 17 00:00:00 2001 From: Nathaniel Hamming Date: Mon, 25 Sep 2023 15:45:21 -0300 Subject: [PATCH 2/9] [COASTAL-1291] plugin identifier is no longer class property (#13) --- LoopSupportKitUI/LoopSupportUI.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LoopSupportKitUI/LoopSupportUI.swift b/LoopSupportKitUI/LoopSupportUI.swift index 45f6790..3354009 100644 --- a/LoopSupportKitUI/LoopSupportUI.swift +++ b/LoopSupportKitUI/LoopSupportUI.swift @@ -13,7 +13,7 @@ import LoopKitUI public final class LoopSupportUI: SupportUI { - public static var pluginIdentifier: String = "LoopSupportUI" + public var pluginIdentifier: String = "LoopSupportUI" private var analytics = LoopKitAnalytics.shared From 90f6b0ea9d0055f51d812e56e89554ceedbbb200 Mon Sep 17 00:00:00 2001 From: Cameron Ingham Date: Fri, 6 Dec 2024 14:34:03 -0800 Subject: [PATCH 3/9] Bump to iOS 17 --- LoopSupport.xcodeproj/project.pbxproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LoopSupport.xcodeproj/project.pbxproj b/LoopSupport.xcodeproj/project.pbxproj index e2a35bc..b23ecb9 100644 --- a/LoopSupport.xcodeproj/project.pbxproj +++ b/LoopSupport.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 52; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -527,7 +527,7 @@ GCC_WARN_UNUSED_LABEL = YES; GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.1; + IPHONEOS_DEPLOYMENT_TARGET = 17.6; LOCALIZED_STRING_MACRO_NAMES = ( NSLocalizedString, CFLocalizedString, @@ -630,7 +630,7 @@ GCC_WARN_UNUSED_LABEL = YES; GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.1; + IPHONEOS_DEPLOYMENT_TARGET = 17.6; LOCALIZED_STRING_MACRO_NAMES = ( NSLocalizedString, CFLocalizedString, From 1e80bfd6db7300adbd4ce5f47b6679b4ed3a3f6d Mon Sep 17 00:00:00 2001 From: Cameron Ingham Date: Fri, 6 Dec 2024 14:34:03 -0800 Subject: [PATCH 4/9] Bump to iOS 17 --- LoopSupport.xcodeproj/project.pbxproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LoopSupport.xcodeproj/project.pbxproj b/LoopSupport.xcodeproj/project.pbxproj index e2a35bc..b23ecb9 100644 --- a/LoopSupport.xcodeproj/project.pbxproj +++ b/LoopSupport.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 52; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -527,7 +527,7 @@ GCC_WARN_UNUSED_LABEL = YES; GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.1; + IPHONEOS_DEPLOYMENT_TARGET = 17.6; LOCALIZED_STRING_MACRO_NAMES = ( NSLocalizedString, CFLocalizedString, @@ -630,7 +630,7 @@ GCC_WARN_UNUSED_LABEL = YES; GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.1; + IPHONEOS_DEPLOYMENT_TARGET = 17.6; LOCALIZED_STRING_MACRO_NAMES = ( NSLocalizedString, CFLocalizedString, From 1536776ddb8ab68ad8f2747f58134b6e470ce954 Mon Sep 17 00:00:00 2001 From: Pete Schwamb Date: Thu, 3 Jul 2025 13:46:32 -0500 Subject: [PATCH 5/9] async updates --- LoopSupportPlugin/LoopSupportPlugin.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/LoopSupportPlugin/LoopSupportPlugin.swift b/LoopSupportPlugin/LoopSupportPlugin.swift index b3e0c93..356ad04 100644 --- a/LoopSupportPlugin/LoopSupportPlugin.swift +++ b/LoopSupportPlugin/LoopSupportPlugin.swift @@ -13,6 +13,7 @@ import LoopSupportKitUI class LoopSupportPlugin: NSObject, SupportUIPlugin { private let log = OSLog(category: "LoopSupportPlugin") + @MainActor public let support: SupportUI = LoopSupportUI() override init() { From f2310370ed190a1359afccf2d7ec1892d4905eee Mon Sep 17 00:00:00 2001 From: Pete Schwamb Date: Thu, 3 Jul 2025 13:46:32 -0500 Subject: [PATCH 6/9] async updates --- LoopSupportPlugin/LoopSupportPlugin.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/LoopSupportPlugin/LoopSupportPlugin.swift b/LoopSupportPlugin/LoopSupportPlugin.swift index b3e0c93..356ad04 100644 --- a/LoopSupportPlugin/LoopSupportPlugin.swift +++ b/LoopSupportPlugin/LoopSupportPlugin.swift @@ -13,6 +13,7 @@ import LoopSupportKitUI class LoopSupportPlugin: NSObject, SupportUIPlugin { private let log = OSLog(category: "LoopSupportPlugin") + @MainActor public let support: SupportUI = LoopSupportUI() override init() { From a27161f880e0f09fce045b4926ca857479844e75 Mon Sep 17 00:00:00 2001 From: Pete Schwamb Date: Wed, 28 Jan 2026 14:03:25 -0600 Subject: [PATCH 7/9] Updates for LoopKit changes --- LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift b/LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift index 02b2a9c..bb6e2c1 100644 --- a/LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift +++ b/LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift @@ -23,7 +23,7 @@ public struct UsageDataPrivacyPreferenceView: View { self.didFinish = didFinish } - private func choice(title: String, description: String, sharingPreference: UsageDataPrivacyPreference) -> CheckmarkListItem { + private func choice(title: String, description: String, sharingPreference: UsageDataPrivacyPreference) -> CheckmarkListItem { CheckmarkListItem( title: Text(title), description: Text(description), From f234be969136fc5ca1c5cdb58995fe3fb08d8e88 Mon Sep 17 00:00:00 2001 From: Pete Schwamb Date: Wed, 28 Jan 2026 14:03:25 -0600 Subject: [PATCH 8/9] Updates for LoopKit changes --- LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift b/LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift index 02b2a9c..bb6e2c1 100644 --- a/LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift +++ b/LoopSupportKitUI/Views/UsageDataPrivacyPreferenceView.swift @@ -23,7 +23,7 @@ public struct UsageDataPrivacyPreferenceView: View { self.didFinish = didFinish } - private func choice(title: String, description: String, sharingPreference: UsageDataPrivacyPreference) -> CheckmarkListItem { + private func choice(title: String, description: String, sharingPreference: UsageDataPrivacyPreference) -> CheckmarkListItem { CheckmarkListItem( title: Text(title), description: Text(description), From c8056ff2e49fc00c745ac5e6470265dfd90ff91c Mon Sep 17 00:00:00 2001 From: Cameron Ingham Date: Thu, 19 Mar 2026 15:11:50 -0700 Subject: [PATCH 9/9] [LOOP-5813] Presets Training Media Support --- LoopSupportKitUI/LoopSupportUI.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LoopSupportKitUI/LoopSupportUI.swift b/LoopSupportKitUI/LoopSupportUI.swift index 3354009..e5b6a8f 100644 --- a/LoopSupportKitUI/LoopSupportUI.swift +++ b/LoopSupportKitUI/LoopSupportUI.swift @@ -60,7 +60,8 @@ public final class LoopSupportUI: SupportUI { public func loopWillReset() { } public func loopDidReset() { } - + + public func trainingMedia(for domain: TrainingMediaDomain) -> [MediaContent] { [] } } // LoopSupport also provides analytics