Skip to content

Instantly share code, notes, and snippets.

@Arrlindii
Created December 6, 2019 22:52
Show Gist options
  • Save Arrlindii/050498bec9dad30f38910d9cdbd154e2 to your computer and use it in GitHub Desktop.
Save Arrlindii/050498bec9dad30f38910d9cdbd154e2 to your computer and use it in GitHub Desktop.
FlowerAnimatableView(sides: 6,size: 65,scale: 1.0)
.frame(width: 65, height: 65)
.transition(AnyTransition.scale(scale: 0.3)
.combined(with: .offset(x: 100, y: 200)))
.animation(Animation.easeInOut(duration: animationTime))
LabelView()
.animation(Animation.easeInOut(duration: animationTime).delay(animationTime/2))
.transition(AnyTransition.opacity.combined(with: .offset(x: 0, y: 80)))
Spacer()
ButtonView()
.animation(Animation.easeInOut(duration: animationTime).delay(animationTime/1.5))
.transition(AnyTransition.opacity.combined(with: .offset(x: 0, y: 80)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment