Advanced SwiftUI patterns for gesture composition, adaptive layouts, architecture decisions, and performance optimization.
ALWAYS load reference files if there is even a small chance the content may be required. It's better to have the context than to miss a pattern or make a mistake.
| Gestures | Composing multiple gestures, GestureState, custom recognizers | | Adaptive Layout | ViewThatFits, AnyLayout, size classes, iOS 26 free-form windows | | Architecture | MVVM vs TCA decision, State-as-Bridge, property wrapper selection | | Performance | Instruments 26, view body optimization, unnecessary updates |
Используйте при реализации композиции жестов (одновременной, последовательной, эксклюзивной), адаптивных макетов (ViewThatFits, AnyLayout, классов размеров) или выбора шаблонов архитектуры (MVVM, TCA или Vanilla, State-as-Bridge). Охватывает расширенные шаблоны SwiftUI, выходящие за рамки базовых представлений. Источник: johnrogers/claude-swift-engineering.