I’ve been reading up on iPhone development, and finally got around to creating something this weekend instead of just reading about it. It’s a pretty simple application, which is good, as it will allow me to get experience with the end-to-end iPhone App Development process fairly quickly. The purpose of Easy ABVs (as in “Alcohol by Volume”) is to help me quickly calculate how much alcohol I’m taking in (and keep myself in check), and to determine how much water to add in order to bring a whisky down to a particular ABV. I got the basic application working this weekend. I still need to make it “pretty”, and hook up the settings tab.
UPDATE: I’ve posted a Part 2 with pictures and details of my cleaned-up application. I’ve handed it out to a few people, but haven’t gone through the effort of putting it on the App Store, as I’m not sure it would appeal to a whole lot of people. I do use it now and then…mainly to figure out final ABV when adding water to a cask-strength whisky, or to figure out how much water to add so that I’m comparing at the same ABV in a head-to-head tasting.
Functionality and design
I want to be able to enter in the ABV of a whisky and the size of a pour, and immediately see how much pure alcohol I’m going to be taking in. In addition to having text boxes for data entry, I wanted to provide sliders. This way I can do everything one-handed using my thumb to control the application. With the sliders, I can also play around with different values easily, and scan the results as they’re updated in real time. I mean really…how much am I going to use this thing if I have to set my drink down to use it, or if it takes me a while to enter the data?🙂
I started out with the original ABV and volume at the top, as these are the starting data points for the calculations. It makes visual sense to go from top to bottom, right? The problem with this is that my hand ends up being over the bottom of the screen while I’m setting the values, and I have to move it to see the results. I decided it was much more useable with the data entry at the bottom and the output at the top. I also added a “swap” button next to the “Add Water” text box. This moves the Add Water value up into the calculations panel and the Final ABV down to the data entry area. Now I can select a specific ABV and have the application calculate how much water to add.
Next weekend, I’ll look into creating a background image for the calculations panel (I wish I had at least a LITTLE artistic talent). I also need to create the settings tab view. I want to allow customization of the min/max ranges of the sliders, and the default values. I thought I’d also add support for switching between US and UK modes, with the US mode showing proof and US drink units. I also want to go through the process of trying to add it into the App Store, just to see what that experience is like. I’ll post an update when I’ve completed the application.