From 84d49c45ff57830603c4f0e4909bd7944adc7c7a Mon Sep 17 00:00:00 2001 From: Nathan Racklyeft Date: Tue, 27 Sep 2016 17:26:12 -0700 Subject: [PATCH 1/2] Improving VoiceOver accessibility for the HUD and Bolus screens --- Loop/AppDelegate.swift | 2 +- Loop/Base.lproj/Main.storyboard | 18 +++++--- Loop/Managers/DeviceDataManager.swift | 8 ++-- Loop/Managers/DoseMath.swift | 4 +- Loop/Managers/LoopDataManager.swift | 2 +- Loop/Managers/NotificationManager.swift | 2 +- Loop/Managers/WatchDataManager.swift | 2 +- .../BolusViewController.swift | 31 +++++++++---- .../StatusTableViewController.swift | 45 ++++++++++++++----- Loop/Views/BasalRateHUDView.swift | 19 ++++++-- Loop/Views/BatteryLevelHUDView.swift | 3 ++ Loop/Views/GlucoseHUDView.swift | 18 ++++++-- Loop/Views/LoopCompletionHUDView.swift | 11 ++++- Loop/Views/ReservoirVolumeHUDView.swift | 23 ++++------ .../StatusInterfaceController.swift | 2 +- WatchApp Extension/Models/GlucoseTrend.swift | 23 +++++++++- 16 files changed, 155 insertions(+), 58 deletions(-) diff --git a/Loop/AppDelegate.swift b/Loop/AppDelegate.swift index 990268eb00..c0610119a1 100644 --- a/Loop/AppDelegate.swift +++ b/Loop/AppDelegate.swift @@ -82,7 +82,7 @@ final class AppDelegate: UIResponder, UIApplicationDelegate { dataManager.enactBolus(units) { (error) in if error != nil { - NotificationManager.sendBolusFailureNotificationForAmount(units, atDate: startDate) + NotificationManager.sendBolusFailureNotificationForAmount(units, atStartDate: startDate) } completionHandler() diff --git a/Loop/Base.lproj/Main.storyboard b/Loop/Base.lproj/Main.storyboard index bb17bbf850..7268a6fb07 100644 --- a/Loop/Base.lproj/Main.storyboard +++ b/Loop/Base.lproj/Main.storyboard @@ -289,7 +289,7 @@ - + @@ -333,8 +333,7 @@ - - + @@ -378,7 +377,7 @@ - + @@ -434,7 +433,7 @@ - + @@ -483,7 +482,7 @@ - + @@ -637,6 +636,7 @@ + + + + @@ -674,6 +678,7 @@ + @@ -684,6 +689,7 @@