<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>4 动画 on 编程那些事儿</title><link>https://before80.github.io/prgms/Swift/SwiftUI/views/4-Animations/</link><description>Recent content in 4 动画 on 编程那些事儿</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 13 Sep 2026 18:20:56 +0800</lastBuildDate><atom:link href="https://before80.github.io/prgms/Swift/SwiftUI/views/4-Animations/index.xml" rel="self" type="application/rss+xml"/><item><title>4.1 控制动画的时序与运动</title><link>https://before80.github.io/prgms/Swift/SwiftUI/views/4-Animations/4.1-ControllingTheTimingAndMovementsOfYourAnimations/</link><pubDate>Sat, 12 Sep 2026 12:47:47 +0800</pubDate><guid>https://before80.github.io/prgms/Swift/SwiftUI/views/4-Animations/4.1-ControllingTheTimingAndMovementsOfYourAnimations/</guid><description>&lt;blockquote&gt;
&lt;p&gt;原文链接: &lt;a href="https://developer.apple.com/documentation/swiftui/controlling-the-timing-and-movements-of-your-animations"&gt;https://developer.apple.com/documentation/swiftui/controlling-the-timing-and-movements-of-your-animations&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id="41-控制动画的时序与运动"&gt;4.1 控制动画的时序与运动&lt;/h1&gt;
&lt;p&gt;使用相位动画器和关键帧动画器，构建你可以控制的高级动画。&lt;/p&gt;
&lt;h2 id="Overview"&gt;概述&lt;/h2&gt;
&lt;p&gt;SwiftUI 提供了一组实用的动画，你可以在应用中使用它们。这些动画通过为视图和用户界面元素提供视觉过渡，帮助提升应用的用户体验。虽然这些标准动画是增强应用用户交互的绝佳方式，但有时你需要对某个视觉元素的时序和运动有更多控制。&lt;a href="https://developer.apple.com/documentation/swiftui/phaseanimator"&gt;PhaseAnimator&lt;/a&gt; 和 &lt;a href="https://developer.apple.com/documentation/swiftui/keyframeanimator"&gt;KeyframeAnimator&lt;/a&gt; 能帮助你获得这种控制。&lt;/p&gt;</description></item></channel></rss>