Instance Property

progress

The current progress shown by the receiver.

Declaration

var progress: Float { get set }

Discussion

The current progress is represented by a floating-point value between 0.0 and 1.0, inclusive, where 1.0 indicates the completion of the task. The default value is 0.0. Values less than 0.0 and greater than 1.0 are pinned to those limits.

See Also

Managing the Progress Bar

func setProgress(Float, animated: Bool)

Adjusts the current progress shown by the receiver, optionally animating the change.

var observedProgress: Progress?

The progress object to use for updating the progress view.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software