Documentation Index
Fetch the complete documentation index at: https://docs.swiftaiboilerplate.com/llms.txt
Use this file to discover all available pages before exploring further.
Quick Stats
- Swift 6 + iOS 26 Liquid Glass: v2.0 builds under strict concurrency with the iOS 26 SDK (Xcode 26.2+)
- 275+ hours of development already done
- 338+ tests with comprehensive coverage
- 11 Swift Packages cleanly separated for reuse in any iOS project
- AI-Assisted Development with Claude Code CLAUDE.md, Cursor AI rules, and Bolt AI chat modes
- Comprehensive docs with examples and LLM prompt packs
- 2 chat UIs (bubble and centered styles)
- Localization & Accessibility built-in for global, inclusive apps
New in v2.0
- ✅ iOS 26 Liquid Glass via
SAIGlassprimitive, with automaticMaterialfallback on iOS 17–25 - ✅ Swift 6 strict concurrency across every package
- ✅
@MainActor-pinned storage repositories and@Observableview models throughout - ✅ ≤ 400-line file rule enforced across the codebase (extension-split siblings)
- ✅ Supabase migration + edge function update for conversation-stats auth fix
- ✅ Secrets pre-commit hook in
.githooks/ - ✅ Xcode 26.3 pin via
.xcode-version
Core Features
AI-Assisted Development
- ✅ Production-tested
CLAUDE.mdfor agentic development with Claude Code - ✅ 4 comprehensive Cursor AI
.mdcrule files - ✅ 12 specialized Bolt AI chat modes
- ✅ Per-module PROMPTS.md with ready-to-paste prompts
- ✅ DesignSystem usage enforced by AI
- ✅ Protocol-based dependencies automatically
- ✅ MVVM architecture patterns followed
- ✅ Swift best practices (async/await, @MainActor, Sendable)
- ✅ Zero setup for all three tools
Authentication
- ✅ Email/password via Supabase
- ✅ Sign in with Apple and/or Google, via Supabase
- ✅ Automatic token refresh
- ✅ Secure Keychain storage
- ✅ MockAuthClient for development
AI Integration
- ✅ Streaming chat responses
- ✅ 500+ models via OpenRouter
- ✅ Secure Edge Function proxy
- ✅ Cancellable requests
- ✅ EchoLLMClient for testing
- ✅ Easily replacable with your own APIs
Chat UI
- ✅ Dual UI styles (bubble + centered)
- ✅ Real-time streaming
- ✅ Infinite scroll pagination
- ✅ Conversation management
- ✅ Search and filter
Subscriptions
- ✅ RevenueCat integration
- ✅ Beautiful paywall UI
- ✅ Monthly and annual plans
- ✅ Entitlement checking
- ✅ Restore purchases
Design System
- ✅ 5 built-in themes
- ✅ Design tokens (colors, spacing, typography)
- ✅ 10+ UI components
- ✅ Dark mode support
- ✅ Accessibility built-in
Localization
- ✅ Type-safe strings with compile-time safety
- ✅ Automatic pluralization support
- ✅ 100+ pre-localized strings included
- ✅ English & Spanish out of the box
- ✅ Easy to add new languages
Accessibility
- ✅ 50+ pre-defined VoiceOver labels
- ✅ Dynamic Type support utilities
- ✅ Reduce Motion helpers
- ✅ High Contrast mode support
- ✅ Debug audit tools
Data Persistence
- ✅ SwiftData models (iOS 17+)
- ✅ Repository pattern
- ✅ Keychain for secrets
- ✅ Optional cloud sync
- ✅ Offline-first
Networking
- ✅ HTTP client with interceptors
- ✅ Automatic retry logic
- ✅ Auth token injection
- ✅ Request/response logging
- ✅ Error handling
Architecture
MVVM
Clean separation of concerns
Dependency Injection
CompositionRoot pattern
Protocol-Oriented
Swappable implementations
Async/Await
Modern concurrency
Modular
11 Swift Packages
Testable
85-90% coverage
Developer Experience
Testing
- ✅ 338+ tests included
- ✅ 85-90% coverage target
- ✅ CI/CD with GitHub Actions
- ✅ Coverage enforcement
- ✅ Mock implementations
Documentation
- ✅ 60KB+ of guides
- ✅ 11 module docs
- ✅ 6 setup guides
- ✅ LLM prompts library
- ✅ Troubleshooting sections
Code Quality
- ✅ SwiftLint configured
- ✅ No force unwraps
- ✅ Files ≤ 300 lines
- ✅ Consistent patterns
- ✅ Comprehensive error handling
Optional Features
- Chat Sync
- Profile Photos
- Crashlytics
Cross-device conversation sync
- Offline-first
- Background sync
- Conflict resolution
- 22KB setup guide
Value Breakdown
Time Saved by Category
| Category | Hours | What’s Included |
|---|---|---|
| Architecture | 20-32 | Modular packages, DI, MVVM |
| Authentication | 20-32 | Supabase + Apple Sign In |
| AI Integration | 24-40 | Streaming, proxy, 500+ models |
| Chat UI | 40-60 | Two interfaces, pagination |
| Subscriptions | 16-24 | RevenueCat, paywall UI |
| Design System | 20-32 | Tokens, components, themes |
| Localization | 12-16 | Type-safe strings, pluralization, 2 languages |
| Accessibility | 14-18 | VoiceOver, Dynamic Type, Reduce Motion |
| Data Layer | 16-24 | SwiftData, repositories |
| Networking | 12-20 | HTTP client, interceptors |
| Testing | 20-32 | 338+ tests, CI/CD |
| Backend | 20-32 | Edge Function, migrations |
| Best Practices | 32-40 | Patterns, security, performance |
| TOTAL | 276-390 | Complete production app |
Cost Savings
At $100/hour:- Low: 276 hours × 27,600**
- High: 390 hours × 39,000**
What Makes This Special
AI-First Design
AI-First Design
- Architected for AI from day one
- Streaming (not batch)
- 500+ models (not locked in)
- Secure proxy included
Production-Ready
Production-Ready
- Not a demo
- 85-90% test coverage
- Professional error handling
- Security best practices
Best Practices
Best Practices
- MVVM done right
- Proper DI (not singletons)
- Protocol-oriented
- Modern concurrency
Documentation
Documentation
- Comprehensive documentation
- Step-by-step setup instructions
- LLM prompts included
- Code examples everywhere
Modular
Modular
- 11 independent packages
- Clear boundaries
- No circular dependencies
- Easy to extend
Related Resources
Architecture
System design overview
Modules
Module documentation
Building Guide
Customization guide, included in your boilerplate
Changelog
Version history
Quick Links
Core
Foundation utilities
Networking
HTTP client
Storage
SwiftData + Keychain
Auth
Authentication
Payments
Subscriptions
AI
LLM integration
FeatureChat
Chat UI
Settings
Settings + Paywall
DesignSystem
UI tokens
Localization
i18n + Type-safe strings
Accessibility
VoiceOver + Dynamic Type
