Last active
June 9, 2017 00:58
-
-
Save marchampson/7e0f831d92d6031250bdc8e3e758be09 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 animationImages:[UIImage] = [UIImage(named: "img_01")!, UIImage(named: "img_02")!, UIImage(named: "img_03")!] | |
loadingImageView.animationImages = animationImages | |
loadingImageView.animationDuration = 1.5 | |
loadingImageView.animationRepeatCount = 0 | |
loadingImageView.startAnimating() | |
self.addSubview(loadingImageView) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment