All NSManagedObjects are now replaced correspondently (only the extension with the Core Data properties is replaced when generating new NSManagedObjects from the model using the "Use scalar types.." option).
Fixes a bug regarding showing wrong entries in the calendar when changing multiple of them, randomly. It was caused by observing the dataUpdated() notification and calling refreshData in the PillStatsViewController.
The problem was that refreshData does a lot of other things, like configuring the cached statistics again. We only needed to observe the notification to know that the medicine refreshed its .currentStock property, so, by the notification now triggers a single method that only refreshes the medicine for that statistics manager.
The ToastHelper.class now sets a default style for the Toast messages implying text to be centered in the view.
Updated the README.md, adding the Crashlytics and Fabric pods and the new way to generated the documentation.
Generated new documentation.
Fixed bug regarding the app triggering multiple trip reminding notifications.
Summary
NSManagedObjects
are now replaced correspondently (only the extension with the Core Data properties is replaced when generating new NSManagedObjects from the model using the "Use scalar types.." option).dataUpdated()
notification and callingrefreshData
in thePillStatsViewController
. The problem was thatrefreshData
does a lot of other things, like configuring the cached statistics again. We only needed to observe the notification to know that the medicine refreshed its.currentStock
property, so, by the notification now triggers a single method that only refreshes the medicine for that statistics manager.