带有标签和形状的分步进度视图。UIActivityIndicatorView 和 UIProgressView 的良好替代品
步进视图
带有标签和形状的分步进度视图。UIAactivityIndicatorView和UIProgressView的一个很好的替代品。
用法
SwiftUI
Use from the swiftui branch.StepsView
Changing Appearance
The properties below can be set in Interface Builder, in code, or through a UIAppearance proxy (e.g., ).StepProgressView.appearance().stepShape = .circle
Shape of the step icons:
Text fonts and sizes:
Line size spacing:
Colors:
Installation
CocoaPods:
Legacy versions:
Swift version | StepProgressView version |
---|---|
4.0 (Xcode 9.4) | pod 'MiniLayout', '~> 1.2.1' pod 'StepProgressView', '~> 1.4.1' |
3 | pod 'MiniLayout', '~> 1.1.0' pod 'StepProgressView', '~> 1.3.0' |
2.3 | pod 'MiniLayout', '~> 1.0.1' pod 'StepProgressView', '~> 1.2.1' |
Swift Package Manager:
Meta
https://github.com/yonat/StepProgressView