Progress - Tai-Kimura/SwiftJsonUI GitHub Wiki
Progress
class: UIProgressView
Platform Support
- ✅ UIKit: Full support (All attributes available)
- ✅ SwiftUI: Full support (Maps to ProgressView)
Attributes for Progress
| attribute name | UIKit | SwiftUI | type in json | details | remarks |
|---|---|---|---|---|---|
| progress | ✅ | ✅ | float/string | Current progress value (0.0 to 1.0). Can be float or @{variableName} | |
| tintColor | ✅ | ✅ | string | progressView.tintColor | |
| progressTintColor | ✅ | ✅ | string | Color for progress portion | |
| trackTintColor | ✅ | ✅ | string | Color for track portion | |
| progressViewStyle | ✅ | ❌ | string | Progress view style: default, bar | UIKit only |
| progressImage | ✅ | ❌ | string | Custom image for progress | UIKit only |
| trackImage | ✅ | ❌ | string | Custom image for track | UIKit only |