beeminder / BeeSwift

Official Beeminder for iOS app
Other
29 stars 5 forks source link

Expose Datapoints as a structured type, rather than JSON #353

Closed theospears closed 1 year ago

theospears commented 1 year ago

Previously while we had a Goal type, the UI code was responsible for interpreting raw JSON for data points. Here we add a DataPoint type, and make the model layer responsible for translating the JSON into this type.

Test Plan: Confirmed the app loads data, and can edit data points.