2 min read
HabitTracker
An iOS app to build daily habits and track streaks.
Platform note: This project requires macOS, Xcode, and an iPhone. Windows users: check out the web projects (LinkPreview, Weather, Portfolio, Playground) for cross-platform alternatives.
What You’re Building
A simple iPhone app that:
- Lets you create habits to track
- Check off habits each day
- Shows your current streak for each habit
- Persists data between app launches
By the end, you’ll have a real app on your phone.
Why This Project
Habit tracking is one of the most popular app categories — and one of the simplest to build. This project teaches:
- SwiftUI (Apple’s modern UI framework)
- iOS app structure
- Data persistence
- Running on a real device
Same workflow as ColorDrop and Weather. Different platform.
Before You Start
Make sure you have:
- Xcode installed (from the App Store)
- An iPhone with iOS 17+
- Same Apple ID signed in on Mac and iPhone
- Claude Code running
You don’t need an Apple Developer account to run on your own device.
The Steps
- Starting — Create the Xcode project
- Habit List — Display and add habits
- Check Off — Mark habits complete each day
- Streaks — Calculate and display streaks
- Persistence — Save data between launches
- Your Phone — Run it on your device
- Next — Where to go from here