
CalmHabits – Behavior Tracker iOS App Template (SwiftUI + SwiftData)
CalmHabits is a whole, ready-to-publish behavior monitoring app constructed totally with SwiftUI and SwiftData. It options stunning GitHub-style completion grids, streak monitoring, sensible reminders with native notifications, a premium paywall with in-app subscriptions, iCloud sync and full darkish mode assist. No third-party dependencies – 100% native Apple frameworks.
Demo Directions
- No login required – the app is absolutely offline and works out of the field. There aren’t any demo credentials.
- On first launch you will notice a brief onboarding circulate. Full it to achieve the principle app.
- Faucet the ”+” button to create your first behavior, choose an icon, a shade and set reminder days.
- iCloud sync prompts mechanically when the person is signed into iCloud on the machine (the app falls again to native storage in any other case).
- The in-app subscription merchandise (“calmhabits_y” yearly and “calmhabits_m” month-to-month) should be configured in your App Retailer Join account for actual purchases. Till then the app works completely with the free tier (as much as 3 habits).
The whole lot the App Does
- Onboarding circulate (3 pages) with notification permission request, proven solely as soon as
- Create habits with identify, description, icon and shade
- Curated icon grid plus a full SF Image icon picker sheet with classes
- 21-color behavior palette (heat, cool and impartial tones)
- GitHub-style 28-day completion grid on each behavior card – performed days, missed days and upcoming days are shade coded
- One faucet to finish a behavior; finishing greater than as soon as per day is prevented
- Weekday scheduling – habits may be restricted to particular days of the week
- Present and longest streak monitoring
- Completion counter and share per behavior
- Behavior element modal with fast actions: calendar, edit, archive, full, delete
- Per-habit month-to-month calendar sheet exhibiting completion historical past
- Edit habits at any time (full edit display screen)
- Archive habits (premium function) with a devoted Archive tab
- Delete habits with affirmation alerts, together with cleanup of scheduled notifications
- Native notifications scheduled per behavior, per chosen weekday and time
- Automated notification re-sync each time habits change
- Paywall display screen with StoreKit 2 subscriptions: yearly plan and month-to-month plan with 3-day free trial toggle
- Free tier restricted to three habits; paywall offered mechanically when the restrict is reached
- Subscription standing restored mechanically on launch and on transaction updates
- iCloud sync by way of SwiftData + CloudKit with automated local-storage fallback
- Gentle, Darkish and System look modes
- Settings display screen: look picker, notification permission standing with fast allow, handle subscriptions, restore purchases, fee app, contact, phrases of use, privateness coverage
- Customized tab bar (House, Archive, Settings) with spring animations and clean modal transitions
Expertise
- Language: Swift 5
- UI: SwiftUI
- Information: SwiftData (iOS 17+)
- Sync: CloudKit (automated fallback to native storage)
- Purchases: StoreKit 2
- Notifications: UserNotifications framework
- Minimal iOS: 17.0
- Third-party dependencies: None
- Common: iPhone centered, works on iPad
What the Purchaser Will get
- Full Xcode challenge with full Swift supply code
- All belongings: app icon (1024px), shade asset catalog, onboarding art work
- Step-by-step documentation.html with screenshots: setup, renaming, re-skinning, notifications and App Retailer submission
- Screenshot pack of each display screen
- Free lifetime updates of this template
Growth Disclosure
Parts of this template’s supply code had been developed with AI-assisted instruments. All code has been reviewed, examined and constructing efficiently in Xcode.
Be aware: this can be a supply code template. Primary Xcode data is required to construct, customise and publish the app. Help for configuration questions is included.

