RW.com: Animations Article - Part 2
The run continues! Will be good to make the most of it, as there will not be anywhere near as much time over the next few weeks. Anyway, second and final part on animations. Let's do it! Start Time - 15:04 So we are starting with combing transitions Combining Transitions Here is an extension on AnyTransition - extension AnyTransition { static var customTransition : AnyTransition { let transition = AnyTransition . move (edge: . top ) . combined (with: . scale (scale: 0.2 , anchor: . topTrailing )) . combined (with: . opacity ) return transition } } This basically means that there are three specific transitions saved into customTransition - and that is specifically for the type. I'm starting to understand when it is useful to use type properties! 10 minute delay Asynchronous Transition So we have replaced to tr...