axiom-swiftui-animation-ref

Reference SwiftUI animation protocols, macros, and UIKit/AppKit bridging.

Updated Dec 3, 2025
One-click install
npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-swiftui-animation-ref
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-swiftui-animation-ref
Source: https://github.com/tuliopc23/flying-dutchman-app/tree/main/.claude/skills/axiom-swiftui-animation-ref
Command: npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-swiftui-animation-ref

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive reference for implementing and understanding SwiftUI animations, helping developers create smooth, dynamic user interfaces and debug animation-related issues.

Core Features & Use Cases

  • Animation Fundamentals: Understand VectorArithmetic, Animatable protocol, and model vs. presentation values.
  • Advanced Techniques: Learn about the @Animatable macro (iOS 26+), zoom transitions (iOS 18+), and UIKit/AppKit animation bridging (iOS 18+).
  • Use Case: A developer needs to animate a custom shape's properties and is unsure how to conform it to Animatable or leverage the new @Animatable macro for cleaner code. This Skill provides the necessary explanations and examples.

Quick Start

Use the axiom-swiftui-animation-ref skill to understand how to animate a custom shape's properties.

Frequently Asked Questions about axiom-swiftui-animation-ref

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I animate custom shape properties in SwiftUI?

To animate custom SwiftUI shape properties, you must conform your view to the Animatable protocol and implement VectorArithmetic for interpolation. This allows SwiftUI to calculate intermediate frames smoothly between your model and presentation values.

What is the @Animatable macro in SwiftUI?

The @Animatable macro is a Swift feature introduced in iOS 26+ that simplifies animating custom view properties. It automatically generates the required Animatable conformance boilerplate, making your animation code significantly cleaner and easier to maintain.

Can I bridge UIKit animations with SwiftUI views?

Yes, you can bridge UIKit animations with SwiftUI using interoperability features introduced in iOS 18+. This allows you to coordinate and synchronize UIKit animation blocks with SwiftUI transition states, ensuring smooth cross-framework UI updates.

Why does my SwiftUI animation jump instead of interpolating smoothly?

SwiftUI animations jump when custom properties lack proper Animatable conformance, preventing the framework from calculating intermediate VectorArithmetic values. You must explicitly expose your animatable data to ensure the presentation layer interpolates smoothly.

How do zoom transitions work in SwiftUI?

Zoom transitions are a SwiftUI navigation feature introduced in iOS 18+ that provide smooth scale-based transitions between views. They allow developers to create continuous, seamless visual connections when navigating from a list item to a detailed view.