Instance Property


The fraction of the overall work completed by this progress object, including work done by any children it may have.


@property(readonly) double fractionCompleted;


If the receiver object does not have any children, fractionCompleted is generally the result of dividing completedUnitCount by totalUnitCount. Setting both totalUnitCount and completedUnitCount properties to zero indicates that there is no progress to track; in this case, the indeterminate property returns NO and the fractionCompleted property returns 0.0.

If the receiver does have children, fractionCompleted reflects progress made in child objects in addition to its own completedUnitCount. When children finish, the completedUnitCount of the parent is updated.

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