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
進捗を監視する
var isIndeterminate: Bool
A Boolean value that indicates whether the tracked progress is indeterminate.
あるブール値、それは追跡される進捗が不確定であるかどうかを指し示します。
var isFinished: Bool
A Boolean value that indicates the progress object is complete.
あるブール値、それは進捗オブジェクトが完了するのを指し示します。