Type Property 型プロパティ

file

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

Declaration 宣言

static let file: ProgressKind

Discussion 議論

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

The system assumes Progress 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 fileTotalCountKey and fileCompletedCountKey keys in the userInfo dictionary for the overall count of files.