SwiftUI Animations Beyond the Basics | Advanced Techniques

Опубликовано: 20 Февраль 2025
на канале: NDC
62
2

Bring Your SwiftUI App to Life with Animations!
SwiftUI animations make apps feel smooth, modern, and engaging, but are you using them to their full potential? In this video, we’ll explore everything from basic animations to View Transition Animations, gestures, and chaining effects!

🧐 What You’ll Learn:
✅ How to use withAnimation for automatic state changes.
✅ How to customize timing functions like .easeInOut and .spring().
✅ How to transition between views using transition() and .animation().
✅ How to add gesture-driven animations and interaction effects.
✅ How to use View Transition Animations to animate between SwiftUI views.

🚀 By the end of this tutorial, you’ll have a complete toolkit for building professional animations in SwiftUI!

🔥 Download My Project Files & More! 🔥
👉 Get the source code for this project & other Swift resources here:
🔗 https://ndcswift.github.io/Swift-Proj...

👨‍💻 Join the Community:
💬 Drop a comment if you have questions!
👍 Like & Subscribe for more hands-on SwiftUI & iOS Development tutorials!

Timestamps:
0:00 Intro & Example
0:48 Project Setup
1:37 Adding our first animation
1:53 Add Capabilities
4:28 Toggling Animation with a button
5:39 Testing out other animations
8:17 Transitions
12:40 Combining Transitions
13:07 Navigation Transitions
18:38 View Transitions 2.0
24:30 Gesture (Drag) Animations
29:01 Final Take aways & uses in real apps