Skip to content

Structure

CustomActivity

An activity indicator with customizable frames and success and failure messages.
struct CustomActivity

Overview

See customActivity(title:titleAfterIndicator:frames:success:failure:color:) to make one.

Topics

Initializers

Instance Properties

  • failure
    The text to be output with the ActivityIndicatorState.failure style if the indicator is failed.
  • frames
    The text that will be output on the indicator ticks, each frame corresponding to a single tick in a range of 0...(frames.count - 1).
  • success
    The text to be output with the ActivityIndicatorState.success style if the indicator is succeeded.
  • title
    The title of the activity indicator.
  • titleAfterIndicator
    If true, the title of the activity indicator will be printed after the indicator itself. If false, the title will be printed before the indicator.

Instance Methods

Relationships

Conforms To

See Also

Activity