Global Variable グローバル変数

NSProgressKindFile

The value that indicates that the progress is tracking a file operation.

Declaration 宣言

const NSProgressKind NSProgressKindFile;

Discussion 議論

If you set this value for the progress kind, set a value in the user info dictionary for the NSProgressFileOperationKindKey.

The system assumes NSProgress of this kind uses bytes as the unit of work. The default implementation of localizedDescription takes advantage of that to return more specific text than it does otherwise. If present, localizedDescription uses the NSProgressFileTotalCountKey and NSProgressFileCompletedCountKey keys in the userInfo dictionary for the overall count of files.