A beautiful, feature-rich iOS affirmation app built entirely with SwiftUI. Cultivate positivity, practice gratitude, and track your personal growth journey.
Features • Screenshots • Installation • Architecture • Design System
Daily Glow is a premium iOS affirmation app designed to help users cultivate positivity, practice gratitude, and track their personal growth journey. Built entirely with SwiftUI, the app features a beautiful, modern interface with glassmorphism effects, smooth animations, and a comprehensive gamification system.
- 🌟 1000+ Affirmations: Curated collection across 10 categories
- 📱 100% SwiftUI: No UIKit dependencies, pure modern iOS development
- 🎮 Gamification: Achievement system with 40+ achievements and streak tracking
- 📝 Journal Integration: Mood tracking and personal growth analytics
- 🎨 Beautiful Design: Glassmorphism, gradients, and smooth animations
- 📦 Widget Support: Home screen widgets in 3 sizes
- 🔒 Privacy First: All data stored locally, no tracking
-
1000+ Affirmations: Curated collection across 10 categories including:
- Self-Love & Confidence
- Success & Abundance
- Health & Wellness
- Relationships
- Creativity
- And more...
-
Personalized Experience: Mood-based affirmation recommendations that adapt to your emotional state
-
Beautiful UI: Pure SwiftUI with:
- Glassmorphic card designs
- Smooth swipe gestures
- Animated gradients
- Particle effects
- Haptic feedback throughout
-
Journal: Track thoughts, gratitude, and personal growth with:
- Mood tracking
- Entry categorization
- Search functionality
- Analytics dashboard
-
Favorites: Save and organize your favorite affirmations for quick access
-
Streak Tracking: Build daily habits with streak rewards and visual progress indicators
- Unlimited Affirmations: Access entire library without restrictions
- Custom Themes: Exclusive gradients and visual customization options
- Advanced Analytics: Mood tracking, insights, and personal growth metrics
- Widget Support: Beautiful home screen widgets in 3 sizes (small, medium, large)
- AI Personalization: Tailored affirmations based on your preferences (coming soon)
- Sleep Stories: Bedtime affirmations for better sleep (coming soon)
- Achievement System: 40+ achievements to unlock across various categories
- Point Rewards: Earn points for daily activities and engagement
- Level Progression: Advance through levels as you build your habit
- Category Progress: Track completion across all affirmation categories
- 100% SwiftUI: No UIKit dependencies, leveraging latest SwiftUI features
- No External Assets: All graphics generated programmatically
- Offline Support: Full functionality without internet connection
- Widget Extension: Home screen widgets with dynamic updates
- Notification System: Daily reminders with full customization
- Deep Linking: Support for URL schemes and shortcuts
- Data Persistence: Comprehensive storage management with backup/restore
| Onboarding | Today Tab | Journal | Achievements |
|---|---|---|---|
| Beautiful onboarding flow with smooth animations | Swipeable affirmation cards with glassmorphism | Mood tracking & analytics dashboard | Gamification system with 40+ achievements |
- Language: Swift 5.9
- UI Framework: SwiftUI 4.0
- Architecture: MVVM with Combine
- Storage: Core Data + UserDefaults
- Widgets: WidgetKit
- Notifications: UserNotifications framework
DailyGlow/
├── DailyGlowApp.swift # Main app entry point
├── Models/
│ ├── Affirmation.swift # Core affirmation model
│ ├── Category.swift # Category definitions
│ ├── UserPreferences.swift # User settings model
│ ├── Achievement.swift # Gamification models
│ └── JournalEntry.swift # Journal entry model
├── Views/
│ ├── Main/
│ │ ├── ContentView.swift # Main navigation
│ │ ├── TodayTab.swift # Daily affirmation view
│ │ ├── FavoritesTab.swift # Saved affirmations
│ │ ├── JournalTab.swift # Journal interface
│ │ └── SettingsTab.swift # App settings
│ ├── Onboarding/
│ │ ├── OnboardingContainer.swift
│ │ └── [Onboarding views...]
│ ├── Paywall/
│ │ └── PaywallView.swift
│ ├── Journal/
│ │ └── JournalAnalyticsView.swift
│ ├── Settings/
│ │ └── AchievementsView.swift
│ └── Widgets/
│ └── WidgetViews.swift
├── Components/
│ ├── AffirmationCard.swift # Card UI component
│ ├── GlassmorphicCard.swift # Glass effect component
│ ├── AnimatedBackground.swift # Dynamic backgrounds
│ └── CustomButton.swift # Button library
├── Services/
│ ├── HapticManager.swift # Haptic feedback service
│ ├── AffirmationService.swift # Affirmation management
│ ├── StorageManager.swift # Data persistence
│ └── AnalyticsService.swift # Analytics tracking
└── Design/
├── ColorSystem.swift # Color palette
├── Typography.swift # Font system
├── GradientTheme.swift # Gradient definitions
└── CustomShapes.swift # Custom SwiftUI shapes
// Card swiping with spring animation
.gesture(
DragGesture()
.onChanged { value in
dragOffset = value.translation
cardRotation = Double(value.translation.width / 20)
}
.onEnded { value in
// Handle swipe action with haptic feedback
}
)// Rich haptic patterns throughout the app
HapticManager.shared.playCardSwipe()
HapticManager.shared.playFavoriteToggle(isFavorited: true)
HapticManager.shared.playStreak()// Dynamic widget updates
func getTimeline(in context: Context, completion: @escaping (Timeline<Entry>) -> Void) {
// Create timeline entries for next 24 hours
// Update with new affirmations periodically
}- Primary: Purple/Pink gradient (
#8B5CF6→#EC4899) - Secondary: Blue/Cyan gradient (
#3B82F6→#06B6D4) - Accent: Yellow/Orange (
#F59E0B→#EF4444) - Semantic: Adaptive colors for light/dark mode
- Font: SF Rounded (system font)
- Sizes: 6-scale system (tiny to h1)
- Weights: Regular, Medium, Semibold, Bold
- Cards: Glassmorphic design with blur effects and subtle shadows
- Buttons: 5 styles (primary, secondary, icon, mood, category)
- Backgrounds: Animated gradients and particle effects
- Shapes: Waves, blobs, and organic forms
- Xcode 15.0+
- iOS 16.0+
- Swift 5.9+
- Clone the Repository
git clone https://github.com/Ghostmonday/DailyGlow.git
cd DailyGlow- Open in Xcode
open DailyGlow.xcodeproj-
Configure Bundle ID
- Select the project in Xcode
- Change Bundle Identifier to your own
- Update App Group identifier for widgets
-
Build and Run
- Select your target device/simulator
- Press Cmd+R to build and run
- Add Widget Extension target in Xcode
- Configure App Groups for data sharing
- Update widget bundle identifier
- Add to main app's embedded content
The app tracks (locally, no external services):
- Daily active usage
- Affirmations viewed
- Journal entries created
- Mood patterns over time
- Category preferences
- Streak maintenance
- Achievement progress
- Local Storage: All data stored on device using Core Data
- No Tracking: No third-party analytics by default
- Secure Backup: Encrypted backup/restore functionality
- Privacy First: No personal data collection or transmission
- Weekly: $1.99
- Monthly: $4.99 (Most Popular)
- Yearly: $39.99 (Best Value)
- Lifetime: $99.99
- Unlimited affirmations
- Custom themes
- Advanced analytics
- Widget customization
- Priority support
- AI-powered personalization
- Sleep stories feature
- Social sharing improvements
- Apple Watch app
- Community features
- Custom affirmation creation
- Voice affirmations
- Meditation integration
- Multi-language support
- Family sharing
- Coach marketplace
- Live sessions
- ✅ Pure SwiftUI: Zero UIKit dependencies, leveraging latest SwiftUI features
- ✅ Programmatic Graphics: All visual assets generated in code
- ✅ Widget Integration: Full WidgetKit implementation with dynamic updates
- ✅ Gamification Engine: Comprehensive achievement and progression system
- ✅ Smooth Animations: 60fps animations with spring physics
- ✅ Offline First: Complete functionality without network dependency
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- SwiftUI community for inspiration
- Design inspiration from Headspace, Calm, and "I Am"
- Beta testers for valuable feedback
Built with ❤️ using pure SwiftUI