Protocol
ActivityBar
An
ActivityIndicatorType that renders an activity bar on a single line.protocol ActivityBar : ActivityIndicatorType
Overview
Title [======= ]
ActivityBars implement the renderActiveBar(tick:) method to customize the bar style.
See LoadingBar and ProgressBar implementations.
See ActivityIndicatorType for more information.
Topics
Instance Properties
var title: StringThe title to display when rendering thisActivityBar.
Instance Methods
func renderActiveBar(tick: UInt, width: Int) -> ConsoleTextCalled each time theActivityBarshould refresh its display.
Type Properties
Relationships
Inherits From
ActivityIndicatorTypeSwift.SendableSwift.SendableMetatype