I started development of a new app and thought it would be neat to blog about while development.
The idea is simple. Time in daylight
is a new value tracked in the Health app. This is automatically done on watchOS 10 on Apple Watch SE (2nd generation), Apple Watch Series 6 and later, and Apple Watch Ultra.
Go Outside app reminds you to go outside, compare yourself with friends, streaks, and more.
Current state:
- gets data from HealthKit
- shows progress of today
- shows progress of last seven days
- segmented control to switch to streaks view
- navigation to Sharing, Settings and Awards
- in Settings you can set your daily goal
Screenshot
Tech
I am using the new Observation framework and it is total bliss. Looking forward to work with SwiftData and other new frameworks/improvements.