Step Tracker
iOS Application · SwiftUI · HealthKit
Overview
I built an iOS step tracker that integrates with Apple Health to retrieve daily step counts and weight data. Using HealthKit and Swift's async/await pattern, I created a manager to fetch health data, process daily results, and prepare them for display in the app.
The project helped me get hands-on experience with Apple's health data APIs, asynchronous programming, and handling missing data and errors.
Key Features
Apple Health integration: Retrieve step count and weight data through HealthKit.
Activity tracking: View daily step counts and weight trends.
Data visualizations: Display health metrics using bar and pie charts.
Daily averages: Summarize activity data to make trends easier to understand.
Technical Highlights
SwiftUI interface development
HealthKit queries and data retrieval
Async/await and error handling
Data processing and chart visualization
What I Learned
I gained practical experience working with health data APIs, handling asynchronous requests, and turning numerical data into visual insights. I also learned how important it is to account for missing data and errors when building an app that relies on external data sources.