Skip to content
All templates
Habbitly icon

Habbitly

Offline habit tracker with streaks, retroactive check-ins, analytics heatmap, Siri Shortcuts, CSV export and a StoreKit 2 paywall scaffold. SwiftUI + SwiftData for iOS 17+, zero dependencies.

iOS AppsSwiftUIhabit trackerstreaksdaily routineswiftui
$49

Habbitly is a complete native iOS habit tracker built in SwiftUI with SwiftData persistence. Track daily, weekday or custom schedules (including quantitative habits with target values), log or correct check-ins retroactively from any past day in a habit's calendar history, and follow your progress with completion rates, a monthly heatmap, a streak leaderboard and weekly averages. It runs 100% offline with no backend, accounts or tracking.

Highlights

  • Streak engine with current streak, best streak and completion rates, unit-tested across month boundaries and DST transitions
  • Retroactive logging: tap any past day to log or fix a check-in
  • Per-habit local reminders with a "Mark Completed" quick action that writes straight to the store
  • Siri Shortcuts via App Intents: "Log a habit in Habbitly" works from Siri, Shortcuts, Action Button and Back Tap
  • RFC 4180-safe CSV export of all habits and history, with spreadsheet formula-injection protection
  • StoreKit 2 paywall scaffold: monthly subscription plus lifetime unlock, testable locally with the included .storekit configuration
  • Habit form with icon and color pickers, categories with filter chips
  • Animated splash and 3-page onboarding flow
  • One-file re-skin via the AppTheme token enum, with a second pre-captured indigo theme shown in the screenshots

Technology

  • SwiftUI with SwiftData (Habit, HabitEntry, HabitSchedule models)
  • StreakEngine: pure, testable streak and completion-rate math shared by app and tests
  • NotificationManager, HabitCSVExporter, HabitIntents, PremiumStore and HapticManager services
  • AppTheme design tokens: every color in one file, no project-wide find and replace
  • iOS 17+ deployment target, zero third-party dependencies

Requirements

  • macOS with Xcode 15 or later
  • Apple Developer account to run on a device or submit to the App Store
  • No accounts, keys or external services: the app runs fully offline

What You Get

  • Full readable SwiftUI source: onboarding, home, detail, form, progress, settings and paywall
  • Ready-to-build Xcode project with app icon, privacy manifest and string catalog
  • HabbitlyTrackerTests target covering the streak engine (DST and month boundaries)
  • documentation.html with embedded screenshots: setup, re-skin walkthrough, notifications, Siri, IAP and App Store checklist
  • README.md and 9 app screenshots including a re-skinned indigo theme example

Please note: this is a source code template, not a medical or psychological product. Building and customizing it requires basic knowledge of Swift and Xcode. If you have questions, use the contact form on the site, I usually reply within 24 hours.

Related templates