Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. let progressIndicator //
  2. progressIndicator.startAnimation(self)
  3. // do tasks
  4. progressIndicator.stopAnimation(self)
  5.  
  6. let progressIndicator //
  7. // do tasks
  8. progressIndicator.startAnimation(self)
  9. progressIndicator.stopAnimation(self)
  10.  
  11. let progressIndicator //
  12. progressIndicator.startAnimation(self)
  13. RunLoop.main.run(until: Date(timeIntervalSinceNow: 0.001))
  14. // do tasks
  15. progressIndicator.stopAnimation(self)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement