rohan singh
← all projects

still working on this · apr 2025 - present

Health Score Dashboard

Apple Health had the numbers I cared about, but I wanted a quicker way to understand them each morning. So I built an iOS dashboard that brings sleep, movement, and seven-day comparisons into one recap.

The working app now gives me a daily recap, sleep score, trend views, and scheduled morning alerts from HealthKit data.

swiftswiftuihealthkit

Apple Health had the numbers, but checking several places every morning was not how I wanted to use them. I wanted one quick answer to three questions: what happened yesterday, how did last night's sleep compare with normal, and is there one useful thing worth noticing?

the daily recap

The SwiftUI app reads sleep, steps, walking distance, and active energy through HealthKit. It identifies the sleep session that just ended, compares the result with seven-day averages, and presents the information as one daily recap rather than a collection of disconnected charts.

The sleep score combines duration, efficiency, and wake-time consistency with asymmetric scoring curves. That makes the score harder to game with one strong metric and lets it distinguish between enough sleep and genuinely consistent sleep.

making it useful at the right time

Scheduled morning notifications surface a sleep highlight and deep-link into the recap. Weekly Swift Charts views provide the longer trend without crowding the daily screen. The project is still evolving, but the working MVP now covers HealthKit ingestion, scoring, movement comparisons, notifications, and the daily interface around them.