Review, write, and fix SwiftUI animations. Apply modern animation APIs with correct timing, transitions, and accessibility handling using Swift 6.2 patterns.
| State-driven | withAnimation, .animation(:value:) | Simple property changes | | Multi-phase | PhaseAnimator | Sequenced multi-step animations | | Keyframe | KeyframeAnimator | Complex multi-property choreography | | Shared element | matchedGeometryEffect | Layout-driven hero transitions |
| Navigation | matchedTransitionSource + .navigationTransition(.zoom) | NavigationStack push/pop zoom | | View lifecycle | .transition() | Insertion and removal | | Text content | .contentTransition() | In-place text/number changes | | Symbol | .symbolEffect() | SF Symbol animations | | Custom | CustomAnimation protocol | Novel timing curves |
Внедряйте, проверяйте или улучшайте анимацию и переходы SwiftUI. Используйте при добавлении неявной или явной анимации с помощью withAnimation, настройке пружинных анимаций (.smooth, .snappy, .bouncy), создании анимации фаз или ключевых кадров с помощью PhaseAnimator/KeyframeAnimator, создании переходов героев с помощью matchedGeometryEffect или matchedTransitionSource, добавлении эффектов SF-символов (отскок, пульсация, переменнаяцвет, дыхание, вращение, покачивание), реализации пользовательских типов Transition или CustomAnimation или обеспечения анимация учитывает доступностьReduceMotion. Источник: dpearson2699/swift-ios-skills.