Design modern SwiftUI architecture
swiftui-patternsskillsetup L2★0
Sheshiyer/skill-clusters ↗What it does
Design consistent SwiftUI UI patterns and component systems
Best for
Building state-managed, performant SwiftUI views with @Observable and NavigationStack.
Inputs
- · view code
- · state pattern question
- · performance concern optional
Outputs
- · refactored code
- · state guidance
- · composition suggestions
Requires
- · swift
Preconditions
Swift 5.9+; Observation framework available
Failure modes
@Observable unavailable on iOS <15; property not tracked
Trust signals
- · State selection matrix
- · ViewModel pattern example
- · Performance tips