CircularProgressGauge uses SwiftUI to display a circular gauge showing the percent complete (0% to 100%) for a process. CircularProgressGauge is completely user styleable with control over the following elements:
Swift Package Manager (Xcode 11 and above)
https://github.com/Appracatappra/CircularProgressGauge.git
in the dialog box.Why not CocoaPods, or Carthage, or blank?
Supporting multiple dependency managers makes maintaining a library exponentially more complicated and time consuming.
Since, the Swift Package Manager is integrated with Xcode 11 (and greater), it's the easiest choice to support going further.
CircularProgressGauge is very easy to use inside a SwiftUI View
:
@State var progress = 0.5
var body: some View {
VStack {
// Progress is give as 0.0 to 1.0
CircularProgressGauge(progress: $progress)
.frame(width: 40.0, height: 40.0)
}
}
}
Would present the following gauge on iOS:
link |
Stars: 1 |
Last commit: 3 weeks ago |
Updated to new OS Versions
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics