Skip to content

Instantly share code, notes, and snippets.

@Arrlindii
Created December 6, 2019 22:50
Show Gist options
  • Save Arrlindii/eb2ca131eb7b4b08b6dae6562df5342f to your computer and use it in GitHub Desktop.
Save Arrlindii/eb2ca131eb7b4b08b6dae6562df5342f to your computer and use it in GitHub Desktop.
let insertion = AnyTransition.move(edge: .trailing).combined(with: .opacity)
let removal = AnyTransition.scale.combined(with: .opacity)
RingView().transition(.asymmetric(insertion: insertion, removal: removal))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment