Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion LoopFollow/BackgroundRefresh/BT/BluetoothDevice.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import CoreBluetooth
import Foundation
import os
import UIKit

class BluetoothDevice: NSObject, CBCentralManagerDelegate, CBPeripheralDelegate {
weak var bluetoothDeviceDelegate: BluetoothDeviceDelegate?
Expand Down
1 change: 0 additions & 1 deletion LoopFollow/Controllers/NightScout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// NightScout.swift

import Foundation
import UIKit

extension MainViewController {
// NS Cage Struct
Expand Down
1 change: 0 additions & 1 deletion LoopFollow/Controllers/Nightscout/BGData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// BGData.swift

import Foundation
import UIKit

extension MainViewController {
/// Number of days of BG history to request from the source. One extra day is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import Foundation
import HealthKit
import UIKit

extension MainViewController {
func DeviceStatusOpenAPS(formatter: ISO8601DateFormatter, lastDeviceStatus: [String: AnyObject]?, lastLoopRecord: [String: AnyObject]) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// BGCheck.swift

import Foundation
import UIKit

extension MainViewController {
// NS BG Check Response Processor
Expand Down
1 change: 0 additions & 1 deletion LoopFollow/Controllers/Nightscout/Treatments/Notes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Notes.swift

import Foundation
import UIKit

extension MainViewController {
// NS Note Response Processor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Overrides.swift

import Foundation
import UIKit

extension MainViewController {
func processNSOverrides(entries: [[String: AnyObject]]) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import Foundation
import HealthKit
import UIKit

extension MainViewController {
// NS Temporary Target Response Processor
Expand Down
1 change: 0 additions & 1 deletion LoopFollow/Controllers/Timers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Timers.swift

import Foundation
import UIKit

extension MainViewController {
func startGraphNowTimer(time: TimeInterval = 60) {
Expand Down
2 changes: 1 addition & 1 deletion LoopFollow/Helpers/BackgroundRefreshManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// BackgroundRefreshManager.swift

import BackgroundTasks
import UIKit
import Foundation

class BackgroundRefreshManager {
static let shared = BackgroundRefreshManager()
Expand Down
1 change: 0 additions & 1 deletion LoopFollow/Remote/Settings/RemoteSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import AVFoundation
import HealthKit
import SwiftUI
import UIKit

struct RemoteSettingsView: View {
@ObservedObject var viewModel: RemoteSettingsViewModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import AVFoundation
import SwiftUI
import UIKit

struct ImportExportSettingsView: View {
@StateObject private var viewModel = ImportExportSettingsViewModel()
Expand Down
2 changes: 0 additions & 2 deletions LoopFollow/Settings/SettingsMenuView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,6 @@ struct AggregatedStatsViewWrapper: View {

// MARK: – UIKit helpers (unchanged)

import UIKit

extension UIApplication {
var topMost: UIViewController? {
// `keyWindow` is deprecated and returns nil on Mac Catalyst / multi-window iPad.
Expand Down
1 change: 0 additions & 1 deletion LoopFollow/Stats/AggregatedStatsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// AggregatedStatsView.swift

import SwiftUI
import UIKit

struct AggregatedStatsView: View {
@ObservedObject var viewModel: AggregatedStatsViewModel
Expand Down
1 change: 0 additions & 1 deletion LoopFollow/Storage/Framework/StorageReadiness.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import Combine
import Foundation
import UIKit

/// A cached value that can re-read itself from disk after a BFU launch.
protocol BFUReloadable: AnyObject {
Expand Down
1 change: 0 additions & 1 deletion LoopFollow/Storage/Storage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import Foundation
import HealthKit
import UIKit

/*
Observable persistant storage
Expand Down
1 change: 0 additions & 1 deletion LoopFollow/Task/TaskScheduler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// TaskScheduler.swift

import Foundation
import UIKit

enum TaskID: CaseIterable {
case profile
Expand Down
Loading