Habitual is a SwiftUI habit-tracking app that combines quick, precise habit logging, sleep tracking, and Apple Health-style interactive insights charts in a mobile-first experience.
ScreenRecording_03-compressed-crf30.mp4
Demo.Recording-compressed-crf30.mp4
- Sleep
- ZYN
- Coffee
- Tea
- Cigarette
- Vape
- Drink
- Water
- Meal
- Cannabis
- One-tap logging for active tracker pages.
- Add/remove tracker pages (up to 5 active addable pages at once) and hide/show the built-in Sleep page.
- Sleep tracking with ongoing and manual-style sleep log history.
- Insights charts with day/week/month/year range views.
- Full mixed history view (sleep + all trackers) with swipe-to-delete and confirmed clear-all.
SwiftUICombine(ObservableObjectstore architecture)- Local JSON persistence
- Custom chart rendering and gesture handling
- Open
ZynSleep.xcodeprojin Xcode. - Select an iOS Simulator or physical iPhone.
- Build and run.
- In Xcode, sign in under Xcode > Settings > Apple Accounts.
- Connect and unlock the iPhone, trust the Mac if prompted, and enable Developer Mode on the iPhone if Xcode requests it.
- Select the
ZynSleeptarget, open Signing & Capabilities, leave Automatically manage signing enabled, and select your team. - Keep the existing
com.daniel.zynsleepbundle identifier when reinstalling over an older copy so the app can retain its local data. - Select the iPhone as the run destination and choose Product > Run.
With a free Personal Team, Apple expires the development provisioning profile after seven days. Rebuild and run from Xcode again to renew it. Do not delete the expired app first if you want to preserve its local logs. TestFlight is the longer-lived beta option for an Apple Developer Program membership; each TestFlight build can be tested for up to 90 days.