SettingsNavigationViewController.swift 869 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // SettingsNavigationViewController.swift
  3. // LoopKitUI
  4. //
  5. // Created by Pete Schwamb on 1/29/19.
  6. // Copyright © 2019 LoopKit Authors. All rights reserved.
  7. //
  8. import HealthKit
  9. import LoopKit
  10. import UIKit
  11. open class SettingsNavigationViewController: UINavigationController, CompletionNotifying {
  12. open weak var completionDelegate: CompletionDelegate?
  13. open func notifyComplete() {
  14. completionDelegate?.completionNotifyingDidComplete(self)
  15. }
  16. }
  17. open class CGMManagerSettingsNavigationViewController: SettingsNavigationViewController, CGMManagerOnboarding {
  18. open weak var cgmManagerOnboardingDelegate: CGMManagerOnboardingDelegate?
  19. }
  20. open class PumpManagerSettingsNavigationViewController: SettingsNavigationViewController, PumpManagerOnboarding {
  21. open weak var pumpManagerOnboardingDelegate: PumpManagerOnboardingDelegate?
  22. }