Protocol
ActivityIndicatorType
ActivityIndicatorTypes are responsible for drawing / rendering the current ActivityIndicatorState to the Console.protocol ActivityIndicatorType : Sendable
Overview
ActivityIndicators are created from an instance of ActivityIndicatorType and control the implementation behind calling the ActivityIndicatorType for ActivityIndicatorState changes.
See the ActivityBar protocol which is based off of this protocol.
Topics
Instance Methods
newActivity(for:)Creates a newActivityIndicatorfor thisActivityIndicatorType.outputActivityIndicator(to:state:)
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype
Inherited By
Conforming Types
See Also
Activity
ActivityIndicatorAn instance of aActivityIndicatorTypethat can be started, failed, and succeeded.ActivityIndicatorStatePossible states to draw / render andActivityIndicatorType.ActivityBarAnActivityIndicatorTypethat renders an activity bar on a single line.LoadingBarLoading-style implementation ofActivityBar.ProgressBarProgress-style implementation ofActivityBar.CustomActivityAn activity indicator with customizable frames and success and failure messages.