CreationKit Documentation

Class Activity​Indicator​Custom​Text

public class ActivityIndicatorCustomText: UIView  

ActivityIndicatorCustomText expresses an unspecified wait time or displays the length of a process.

It behaves similar to ActivityIndicators

ActivityIndicatorCustomText can have one of two styles, and takes a text: String

  • linear - displayed as a line with text above

  • circular - displayed as a circle with text below

AutoLayout & Constraints

The design system specifies the heights and optionally the width of this type. When using a linear style, the height will be constrained to 4 points, where as the circular style will constrain the height and width to 40 points.

DO NOT place any constraints that may conflict with these constraints.

ActivityIndicatorCustomText ActivityIndicatorCustomText UIView UIView ActivityIndicatorCustomText->UIView

Nested Types

ActivityIndicatorCustomText.Style

Conforms To

UIView

Initializers

init(style:​text:​)

public init(style: Style, text: String)  

Properties

is​Animating

public var isAnimating: Bool  

Methods

start()

public func start()  

stop()

public func stop()