An interface for objects that report progress using a single progress instance.


protocol ProgressReporting


Creating the Progress Object

Create the returned progress object using ProgressReporting. The resulting object has no parent allowing the caller to add it to a progress tree using ProgressReporting.

You can return a single progress object or a progress tree. If you are creating a progress tree, add the children to the returned progress object as described in Creating a Tree of Progress Objects.

Updating the Progress Object

You are responsible for setting and updating the ProgressReporting and ProgressReporting of any Progress object you create.


Custom Class Progress

var progress: Progress

The progress object returned by the class.


See Also


class Progress

An object that conveys ongoing progress for a given task to the user.

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