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

completedUnitCount

The number of completed units of work for the current job. 現在のジョブに対する完了した仕事の単位の数。

Declaration 宣言

var completedUnitCount: Int64 { get set }

Discussion 議論

For an Progress with a kind of file, the unit of this property is bytes, and the fileTotalCountKey and fileCompletedCountKey keys in the userInfo dictionary report the overall count of files.

For any other kind of Progress, the unit of measurement doesn’t matter as long as it’s consistent. You can report the values to the user in the localizedDescription and localizedAdditionalDescription.

See Also 参照

Reporting Progress 進捗を報告する

Related Documentation 関連文書