I added a small log at the bottom of the most recent actions because I sometimes forgot whether I had logged something.
I hid away the BMR setting to save space and rearranged the interface, including adding small captions to +100/-100.
By this update, my calorie-tracking app was 400 lines, and development was starting to slow down and get more complicated.
I considered either 1) directly hook up ChatGPT to Xcode (recent) or 2) hook it up to Cursor for further development.
I planned to see if I can get this on App Store.
I said, “last entry in the series I think but it was fun.”
I built and iterated on a Swift iOS calorie-tracking app with ChatGPT guidance, despite having no prior Swift programming experience. I got it running on my physical phone, used it for tracking, and described its calorie-balance display and visual progress features.
I vibe coded a whole iOS app in Swift without having programmed in Swift before, and I learned some Swift in the process.
About ~1 hour later, my app was running on my physical phone.
I said the process was “so ez” and that I had my hand held through the entire process.
I didn't even read any docs at all; I just opened a ChatGPT convo and followed instructions.
I shared 4 conversations covering starting the app, enhancements, adding AppStorage to persist state over time, and deploying to a phone.
I was already happily using the app for tracking and said I would probably hack on it more that Sunday.
I described the app as a kind of countdown, but in units of calories, with the middle showing my current net deficit.
For a base metabolic rate set at 2,000, I calculated resting burn as 2000/24/60/60 = 0.02 kcal/s.
I described logging a 300kcal snack by pressing +100 three times, and a 200 kcal run by pressing -200 two times.
I said the app can be reset to zero, can switch between light mode and dark mode, and uses AppStorage.
I used the approx 3500kcal ~= 1lb of fat conversion for the app’s calorie-tracking visualization.
I added an animated ring that fills up to 3500 in either +/- direction, and completing the circle adds it on the bottom.
I clamped the display to always be in range [-3500, 3500], which I described as 1lb of fat.
I used circles at the bottom to represent pounds of fat; for example, 3 green circles = 3lb lighter, in theory.
I used 3 conversations for further work: refactoring AppStorage and rearranging elements, clamping the display and showing pounds as circles, and making the calorie counter ring fill.
Related: end to end software automation, ai agents and operating systems, personal llm computing