Skip to content

funway/ProgressView-SwiftUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProgressView SwiftUI

Based on Xcode 11.6

Reference:

https://github.com/karthironald/ProgressIndicator

https://github.com/AmeddahAchraf/Progress-Bar-SwifttUI

Demo:

demo

Example code:

LinearProgress(progress: CGFloat(self.progress))
	.frame(height: 50)

CircularProgress(progress: CGFloat(self.progress))
	.frame(width: 100, height: 150)
	.overlay(Text("\(Int(progress*100))%"))

FilledCircleProgress(progress: CGFloat(self.progress))
	.frame(width: 150, height: 200)

ArcProgress(progress: CGFloat(self.progress))
	.frame(width: 200, height: 100)
	.overlay(Text("\(Int(progress*100))%"))

About

Some progress view for SwiftUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages