Created
December 31, 2018 15:23
-
-
Save ktanaka117/40ce0cb559d588327eed6728ff896dca 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
view.layoutIfNeeded() | |
animationView.play { [weak self] _ in | |
UIView.animate(withDuration: 1.0, animations: { [weak self] in | |
self?.widthConstraint.constant = 300 | |
self?.heightConstraint.constant = 300 | |
self?.view.layoutIfNeeded() | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment