ClockiniOS · 2025Code ↗
Learning Swift by building a watch app.
A shift tracker for iPhone and Apple Watch with one shared model layer. Three weeks from first line of Swift to a working app.
- Project
- Solo project
- Timeline
- Early 2025
- Stack
- Swift, SwiftUI, WatchKit
- Status
- Shipped
- 3 wks
- from zero Swift
- 2
- platforms, one codebase
- 3
- watch pages
- $15
- an hour, ticking live
Three weeks, zero Swift.
I wanted a shift tracker I could use from my wrist, and I didn't know Swift. Week one was syntax through tiny programs, week two was SwiftUI layouts, week three was state and persistence.
Try the watch.
A working replica of the three watch pages, sped up 120×. Clock in, take a break, and watch the earnings stop.
off the clock
0:00:00
tap the dots to change pages
- net work
- 0:00:00
- breaks
- 0:00:00
- earned
- $0.00
shift startpress Clock in ·
Earnings tick at $15/hr against net work time only. Start a break and watch the number freeze. That's the app's separatesessionWorkTimecounter.
One model layer, two apps.
MVVM kept the watch and phone apps thin. Both share the same view models and records, so each feature was written once.
Watch appWatchKit · 3 pages
Clock in and out, breaks, totals and an earnings ring.
Click any step for details · Run walks a request through each step