JohanDegraeve / xdripswift

xdrip for iOS, written in Swift
GNU General Public License v3.0
329 stars 330 forks source link

Glucose Readings view implementation #450

Closed paulplant closed 1 year ago

paulplant commented 1 year ago

Implements a BG Readings view in SwiftUI using UIHostingController.

All BG values are listed on the current day. They can be tapped to show a detail view, or swiped left to delete.

Deleting a glucose reading will permanently delete it from the app (i.e. from coredata) and also from Nightscout (if it exists). This action cannot be reversed.

The date selected can be changed to any day in the previous 14 days.

Initial translations are included for English, Spanish and Dutch.

Simulator Screenshot - iPhone 14 Pro - 2023-07-30 at 21 06 11