Created
December 31, 2018 15:24
-
-
Save ktanaka117/c6a467d0e9ea349a3e78897781d39784 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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