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

totalUnitCount

The total number of tracked units of work for the current progress. 現在の進捗に対する追跡される仕事の単位の総数。

Declaration 宣言

var totalUnitCount: 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 関連文書