Instance Property インスタンスプロパティ

fractionCompleted

The fraction of the overall work that the progress object completes, including work from its suboperations. 仕事全体のうちこの進捗オブジェクトが完了する部分、それの下位演算からの仕事を含みます。

Declaration 宣言

var fractionCompleted: Double { get }

Discussion 議論

If the receiver object doesn’t have any suboperations, 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 isIndeterminate property returns false and the fractionCompleted property returns 0.0.

If the receiver does have suboperations, fractionCompleted reflects progress from those progress objects in addition to its own completedUnitCount. When the suboperations finish, the completedUnitCount of the containing progress object updates.

See Also 参照

Observing Progress 進捗を監視する