Indicator - Tai-Kimura/SwiftJsonUI GitHub Wiki
Indicator
class: UIActivityIndicatorView
Platform Support
- ✅ UIKit: Full support (All attributes available)
- ✅ SwiftUI: Full support (Maps to ProgressView with circular style)
Attributes for Indicator
| attribute name | UIKit | SwiftUI | type in json | details | remarks |
|---|---|---|---|---|---|
| animating | ✅ | ✅ | boolean/string | Start/stop animation. Can be boolean or @{variableName} | |
| indicatorStyle | ✅ | ✅ | string | Style: medium, large. Default is medium | |
| color | ✅ | ✅ | string | indicator.color | |
| hidesWhenStopped | ✅ | ✅ | boolean | Hide indicator when animation stops | |
| style | ✅ | ❌ | string | Legacy style attribute | UIKit only |