Process
With recent changes to the user interface of HealthKit, it became obvious how inconvenient adding your weight to HealthKit was if you weren’t using a smart scale, especially if you were tracking your weight daily.
After brainstorming with an experience designer to figure out the ideal input method for updating a single number that didn’t significantly change in value, the scale slider was settled on. It allows the user to update their weight with the most recent incremental change. The current mass displayed to the user is also updated as the user scrolls, providing realtime feedback to the user. To give the input greater physicality the new haptics API was used to gently vibrate the phone as the user scrolled through the scale, or when a weight value is saved.
Native HealthKit unit transformation was used to localise the input and saved data for the user no matter what region they were from.
Technology
iPhone application is coded completely in Swift using Xcode.
The app uses the HealthKit API and data store extensively.
A custom input method was created making use of a customed collection view.
A dynamically created image using CoreGraphics was used to allow users to share their current weight with friends using the sharesheet.
The application uses Git as its version control with issue tracking managed in Bitbucket and project management managed in Trello.