Create a progress bar based on a duration in seconds.
The view is fully customisable.
Add this repository to your swift package manager.
DurationProgressBar instance and set it's frame, background color, its
progressView's color etc.
startProgress(duration:) function with a duration in seconds.
You can also use
didFinisedProgress method to inform about when the progress finished.