Roselea
Earthy offline-first period and cycle tracker built with SwiftUI - log rituals, visualize fertile windows and get automatic cycle predictions, all private on-device
Roselea is a beautifully designed, offline-first period and menstrual cycle tracker built entirely with SwiftUI. Log periods, moods, symptoms and daily rituals, visualize fertile windows and ovulation on a petal-marked journal calendar, and get automatic predictions - all wrapped in a warm terracotta-and-sand editorial design and stored privately on the device with zero data collection.
Highlights
- Home screen with blossom emblem, current cycle day, next period countdown, live ovulation countdown and pregnancy chance indicator
- Cycle phase detection with daily insight text that adapts to the current phase and refreshes once a day
- Daily Ritual log: energy level (1-5), 5 moods with earthy color grading, 10 common symptoms and free-form notes
- Logs are editable any day - reopening the Log tab loads the existing entry for update
- Journal calendar with month navigation and petal-shaped markers for period, fertile, ovulation and predicted days
- Tap any date to log period Start or End, or mark it as just another day; flow intensity light/medium/heavy
- Edit and delete entries directly from the calendar sheet
- Automatic prediction engine: ovulation day, fertile window and next period recalculated after every edit
- Adjustable cycle length from 20 to 45 days
- Insights screen (premium): Blossom Quotient score, mood-over-time line chart and cycle summary statistics
- Settings screen (premium): PIN lock, cycle length control and private data purge
- 4-digit PIN lock with confirmation step, shake animation on wrong PIN and unlock screen at launch
- StoreKit 2 paywall with monthly and yearly options, best-value badge, plan selection and restore purchases; Insights and Settings tabs gate until subscribed
- Haptic feedback on every interaction, empty states for first launch
- 100% offline and private: no cloud, no analytics, no tracking, no login
Technology
- Swift 5, SwiftUI (iOS 17.0+), MVVM with ObservableObject
- Keychain + AES-GCM encrypted storage (CryptoKit)
- StoreKit 2 subscriptions
- Custom Path-based line chart - no charting dependency
- Custom terracotta/sand design system with bundled Cormorant Garamond and Inter fonts, re-skin everything from one file (RoseleaTheme.swift)
- Zero third-party SDKs, zero external requests at runtime
Requirements
- macOS with Xcode 15 or later, iOS 17.0+ deployment target (already configured)
- Apple Developer Program membership to publish to the App Store or test real subscription purchases; create your own subscription product IDs in App Store Connect (listed in the documentation)
- No accounts, no API keys, no third-party dependencies
What You Get
- Complete Xcode source project, ready to build and run
- All Swift source files, cleanly organized (Models, Managers, Components, Flows, Configuration)
- Full asset catalog including app icon, custom fonts and blossom/petal graphics
- Step-by-step HTML documentation with screenshots, theme customization guide and App Store submission checklist
- Full rights to rebrand, reskin, extend and publish anywhere
Please note: this is a source code template, not a finished published app. Basic Xcode knowledge is required to build, customize and publish. If you have questions, use the contact form on the site, I usually reply within 24 hours.


