The properties below can be set in Interface Builder, in code, or through a UIAppearance proxy (e.g., StepProgressView.appearance().stepShape = .circle).
When using SwiftUI you can set them in the StepsView initializer or using SwiftUI view modifiers.
progressView.lineWidth = 2.5
progressView.verticalPadding = 8 // between steps (0 => default based on textFont)
progressView.horizontalPadding: 8 // between shape and text (0 => default based on textFont)
StepProgressView
Step-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView.
Usage
SwiftUI Usage
Changing Appearance
The properties below can be set in Interface Builder, in code, or through a UIAppearance proxy (e.g.,
StepProgressView.appearance().stepShape = .circle
). When using SwiftUI you can set them in theStepsView
initializer or using SwiftUI view modifiers.Shape of the step icons:
Text fonts and sizes:
Line size spacing:
Colors:
Installation
CocoaPods:
Legacy versions:
pod 'MiniLayout', '~> 1.2.1'
pod 'StepProgressView', '~> 1.4.1'
pod 'MiniLayout', '~> 1.1.0'
pod 'StepProgressView', '~> 1.3.0'
pod 'MiniLayout', '~> 1.0.1'
pod 'StepProgressView', '~> 1.2.1'
Swift Package Manager:
Meta
@yonatsharon
https://github.com/yonat/StepProgressView