Instance Property

isDisplayedWhenStopped

A Boolean that indicates whether the progress indicator hides itself when it isn’t animating.

Declaration

var isDisplayedWhenStopped: Bool { get set }

Discussion

When the value of this property is true, the progress indicator is hidden when it isn't animating. The default value of this property is true if style is NSProgressIndicatorBarStyle, and false if style is NSProgressIndicatorSpinningStyle.

See Also

Setting the appearance

var controlSize: NSControl.ControlSize

The size of the progress indicator.

var controlTint: NSControlTint

The progress indicator’s control tint.

var isBezeled: Bool

A Boolean that indicates whether the progress indicator’s frame has a three-dimensional bezel.

var isIndeterminate: Bool

A Boolean that indicates whether the progress indicator is indeterminate.

var style: NSProgressIndicator.Style

The style of the progress indicator (bar or spinning).

func sizeToFit()

This action method resizes the progress indicator to an appropriate size depending on the value of style.