Created
December 31, 2018 15:24
-
-
Save ktanaka117/251821c4e67f411ccd413e5bbad52c3a 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 = transformScale.concatenating(transformTrans) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment