Marxon13 / M13ProgressSuite

A suite containing many tools to display progress information on iOS.
3.93k stars 529 forks source link

Fixed M13ProgressHUD not updating own progress value when setProgre… #106

Closed zanesc closed 7 years ago

zanesc commented 8 years ago

Previously, calling progressHUD.progress will always return 0 because progress was never updated in M13ProgressHUD when setProgress was called.

This allows you to step progress using M13ProgressHUD progress value like so:

progressHUD?.setProgress(progressHUD!.progress+step, animated: false)