Implement the ProgressReporting protocol to report progress for classes that return only one progress object.


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.


Inherits From