Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.view.addSubview(button)
- button.addSubview(progressRing)
- progressRing.setProgress(value: 10, animationDuration: 5.0) {
- print("Done animating!")
- // Do anything your heart desires...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement