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

totalUnitCount

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

Declaration 宣言

@property int64_t totalUnitCount;

Discussion 議論

For an NSProgress with a kind of NSProgressKindFile, the unit of this property is bytes, and the NSProgressFileTotalCountKey and NSProgressFileCompletedCountKey keys in the userInfo dictionary report the overall count of files.

For any other kind of NSProgress, 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 関連文書