Fixed bug that represented the Pill achievements to disappear when the app was closed due to having the tags deallocated, by defining the tags each time the AchievementManager is instantiated.
Added real questions, instead of mock, for the games.
Generated new documentation files using Jazzy.
Added new link to download MACC posts (the link is not functionally at this time and unit tests regarding syncing do not work until it will be online).
The "Take" or "Not Take" pill buttons are disabled, by default, when you don't have any pills, to not confuse the users. The "Not Take" button was enabled before, because it makes sense to say that you did not take a pill even if you have no pills.
Improved the user experience by not allowing the "No new posts from the MACC" pop-up to show on other screens, after receiving this response from the server.
When changing a pill in the Setup Screen, if you set up the pill before, it will show you the current Core Data information about it, if not, it will show you default values for configuring a new pill. This modification was added because it was confusing when changing to another pill to show you the default "0 pills" when you know you had configured that you have pills on you.
Improved the MedicineManagerProvider by not using a dictionary anymore. There is always needed to create a new MedicineAchievementManager when changing medicines.
Changed the app's and targets' name.
Fixes Myth Vs. Fact game incorrect label frame for iPad and iPhone 4 devices.
Solved bug regarding not unscheduling notifications. Seems like we needed to use both methods (storing an array with them persistently) and using the UIApplication.sharedApplication().cancelAllLocalNotifications() , because most of the times, one of them is needed, but we don't know which.
Changes
tags
deallocated, by defining the tags each time theAchievementManager
is instantiated.MedicineManagerProvider
by not using a dictionary anymore. There is always needed to create a newMedicineAchievementManager
when changing medicines.UIApplication.sharedApplication().cancelAllLocalNotifications()
, because most of the times, one of them is needed, but we don't know which.