What problem does it solve?
Provides expert, opinionated guidance to write, refactor, and fix Swift and SwiftUI code so developers can produce reliable, maintainable apps that follow modern platform conventions and avoid common pitfalls.
Core Features & Use Cases
- Modern state management: Guidance on using @Observable, @Bindable, @State and bindings for iOS 17+/macOS 14+ apps.
- Architecture & patterns: Recommendations for MVVM with @Observable, TCA for large apps, Clean Architecture, and dependency injection.
- Concurrency, persistence, and testing: Best practices for async/await, actors, SwiftData models/queries, and unit/UI testing strategies.
- Performance & accessibility: Advice for List/Lazy stacks, avoiding anti-patterns that break lazy loading, and making accessible SwiftUI UIs.
- Code generation guidelines: Rules for target platform versions, navigation, property wrappers, error handling, and accessibility annotations.
Quick Start
Refactor this view to use @Observable, NavigationStack, and async/await with proper accessibility and error handling.