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.