Yak0xff / ProgressBar-with-SwiftUI

How to implement the ProgressBar with SwiftUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProgressBar-with-SwiftUI

How to implement the ProgressBar with SwiftUI

Simple Usage

Simple Progressbar

ProgressBar(progress: self.$progress,
                        width: UIScreen.main.bounds.size.width - 40,
                        height: 10,
                        progressColor: .blue,
                        staticColor: .gray)

Circle ProgressBar

CircleProgressBar(circleProgress: self.$progress,
                              widthAndHeight: 200,
                              labelSize: 30,
                              progressColor: .pink,
                              staticColor: .gray)

CircularActivityIndicator

CircularActivityIndicatory(widthAndHeight: CGFloat(200.0),
                                       indicatorColor: .pink,
                                       staticColor: .gray,
                                       lineWidth: CGFloat(12.0))

About

How to implement the ProgressBar with SwiftUI

License:MIT License


Languages

Language:Swift 100.0%