SwiftUI 2.0 tutorial - matchingGeometryEffect Part 2 - transition between views with hero animations

preview_player
Показать описание
Learn how to transition between views with hero animations. I will show you example for matchedGeometryEffect which can be used to animate views appearing and disappearing.

00:00 introduction
07:37 Transitions
09:34 matchedGeometryEffect
17:41 working with namespace and subviews
22:15 changing the order of stacking with zindex
26:40 wrap up

Project files:

You can learn more about animations with matchedGeometryEffect in the other two parts of this series:

Resources for matchedGeometryEffect

If you liked what you learned and you want to see more, check out one of my courses!

#SwiftUI #HeroAnimations
Рекомендации по теме
Комментарии
Автор

Great video. By any chance have you had much success implementing it on a large scrollable grid? No matter how I try to implement it, I keep getting this bug that randomly when a cell scrolls off-screen and you then scroll back to it, if I tap it, the full size view disappears.

GuyCassidy