Created
December 20, 2017 08:11
-
-
Save dejanskledar/3d5392b055766d3e9b510aeda21ad753 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
UIView.animate(withDuration: 1, animations: { | |
view.frame.origin.x += 200 | |
}, completion: { _ in | |
UIView.animate(withDuration: 1, animations: { | |
view.backgroundColor = .green | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment