Skip to content

Instantly share code, notes, and snippets.

@ktanaka117
Created December 31, 2018 15:24
Show Gist options
  • Save ktanaka117/c6a467d0e9ea349a3e78897781d39784 to your computer and use it in GitHub Desktop.
Save ktanaka117/c6a467d0e9ea349a3e78897781d39784 to your computer and use it in GitHub Desktop.
let transformTrans = CGAffineTransform(translationX: 0, y: -animationViewCenterMovementAmount)
let transformScale = CGAffineTransform(scaleX: 0.8, y: 0.8)
animationView.transform = transformTrans.concatenating(transformScale)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment