Skip to content

Instantly share code, notes, and snippets.

@lawreyios
Created May 16, 2020 15:10
Show Gist options
  • Save lawreyios/d5b2694a65cfa639997a2501aeff1377 to your computer and use it in GitHub Desktop.
Save lawreyios/d5b2694a65cfa639997a2501aeff1377 to your computer and use it in GitHub Desktop.
extension AnyTransition {
static var fadeAndSlide: AnyTransition {
AnyTransition.opacity.combined(with: .move(edge: .top))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment