[Still in development] A beautiful iOS widget featuring daily inspirational quotes from Catholic Saints, designed with a stunning Liquid Glass visual effect.
30+ Inspirational Quotes from beloved Catholic Saints Liquid Glass Design with frosted glass effects and dynamic gradients Daily Updates - New quote automatically every day Multiple Widget Sizes - Small, Medium, Large, and Lock Screen widgets 8 Categories - Wisdom, Prayer, Faith, Love, Hope, Peace, Courage, Humility Color-Coded - Each category has its own beautiful gradient theme
- St. Francis of Assisi
- St. Thérèse of Lisieux
- St. Augustine of Hippo
- St. Teresa of Γvila
- St. Ignatius of Loyola
- St. Thomas Aquinas
- St. Padre Pio
- St. John Paul II
- St. Catherine of Siena
- St. Teresa of Calcutta (Mother Teresa)
- St. Francis de Sales
- St. Joan of Arc
- And many more...
- iOS 18.0 or later
- Xcode 16.0 or later
- Swift 5.9 or later
-
Create a Widget Extension in your existing iOS project:
- Open your project in Xcode
- File β New β Target
- Select "Widget Extension"
- Name it "SaintsQuotesWidget"
- Click Finish
-
Copy the source files into your widget extension:
SaintsQuotesWidget/ βββ SaintsQuotesWidget.swift (Main widget file) βββ Models/ β βββ SaintQuote.swift βββ Data/ β βββ SaintsQuotesData.swift βββ Provider/ β βββ SaintsQuotesProvider.swift βββ Views/ β βββ SaintsQuotesWidgetView.swift βββ Assets.xcassets/ βββ Info.plist -
Build and Run your app with the widget extension
-
Create a new iOS App project in Xcode:
- Open Xcode
- File β New β Project
- Select "iOS App"
- Name it "SaintsQuotesApp"
- Click Next and Create
-
Add a Widget Extension:
- File β New β Target
- Select "Widget Extension"
- Name it "SaintsQuotesWidget"
- Make sure "Include Configuration Intent" is unchecked
- Click Finish
-
Replace the widget files with the source code from this repository
-
Build and Run
SaintsQuotesWidget/
β
βββ SaintsQuotesWidget.swift # Main widget entry point
β
βββ Models/
β βββ SaintQuote.swift # Data model for quotes
β
βββ Data/
β βββ SaintsQuotesData.swift # Collection of 30+ saint quotes
β
βββ Provider/
β βββ SaintsQuotesProvider.swift # Timeline provider for widget updates
β
βββ Views/
β βββ SaintsQuotesWidgetView.swift # Liquid Glass UI components
β
βββ Assets.xcassets/ # Asset catalog
β βββ AppIcon.appiconset/
β βββ WidgetBackground.colorset/
β
βββ Info.plist # Widget configuration
- Long press on your iPhone home screen
- Tap the + button in the top-left corner
- Search for "Saints Quotes"
- Choose your preferred size:
- Small: Compact quote display
- Medium: Quote with saint name and feast day
- Large: Full quote with detailed information
- Tap "Add Widget"
- Long press on your lock screen
- Tap "Customize"
- Select the widget area
- Search for "Saints Quotes"
- Choose from:
- Circular: Shows a cross icon
- Rectangular: Displays saint name
- Inline: Minimal text display
Edit SaintsQuotesData.swift and add new quotes to the quotes array:
SaintQuote(
quote: "Your inspiring quote here",
saint: "St. Name",
feastDay: "Month Day",
category: .wisdom // or .prayer, .faith, .love, etc.
)Modify the gradient colors in SaintsQuotesWidgetView.swift in the LiquidGlassBackground struct:
case .yourCategory:
return LinearGradient(
colors: [Color.blue.opacity(0.8), Color.purple.opacity(0.6)],
startPoint: .topLeading,
endPoint: .bottomTrailing
)The widget automatically updates at midnight each day. To change this, modify the timeline policy in SaintsQuotesProvider.swift:
let timeline = Timeline(entries: entries, policy: .after(tomorrow))The widget uses multiple layering techniques to achieve the liquid glass look:
- Base Gradient: Category-specific color gradients
- Radial Highlights: White gradient circles for depth
- Blur Effects: Soft blur for glass-like appearance
- Ultra Thin Material: iOS frosted glass material
- Shadows: Text shadows for readability
- Rounded Corners: Continuous corner radius for smooth edges
- π΅ Wisdom: Blue β Purple
- π£ Prayer: Purple β Indigo
- π‘ Faith: Orange β Yellow
- β€οΈ Love: Pink β Red
- π Hope: Green β Mint
- π©΅ Peace: Cyan β Blue
- π Courage: Orange β Red
- β« Humility: Gray β Secondary
- Timeline Provider: Provides 7-day timeline, updates daily at midnight
- Quote Selection: Rotates through quotes based on day of year
- Widget Families: Supports all iOS widget sizes
- Lock Screen Support: Includes accessory widgets for iOS 18+
- Performance: Lightweight, minimal battery impact
- Data: All quotes stored locally, no network required
- Make sure your deployment target is iOS 18.0+
- Clean build folder: Product β Clean Build Folder
- Restart Xcode and rebuild
- Widgets update automatically at midnight
- Force refresh by removing and re-adding the widget
- Check that the app has been run at least once
- Ensure all files are added to the widget extension target
- Check that Info.plist is properly configured
- Verify bundle identifier matches your app
Potential features to add:
- User-selectable favorite saints
- Share quote functionality
- Different visual themes (Classic, Modern, Minimal)
- Multiple languages support
- Widget configuration for category filtering
- Seasonal/liturgical calendar integration
- Audio prayers
Feel free to:
- Add more saint quotes
- Improve the visual design
- Fix bugs or enhance performance
- Suggest new features
This project is open source and available for personal and educational use.
Quotes compiled from various Catholic sources and saint writings.
Made with β€οΈ and π for Catholic faith inspiration
"Pray, hope, and don't worry." - St. Padre Pio