Type Property

file

The value for the kind property that indicates that the progress is tracking a file operation. If you set this value for the progress kind, you must set a value in the user info dictionary for the fileOperationKindKey.

Declaration

static let file: ProgressKind

Discussion

NSProgress of this kind is assumed to use bytes as the unit of work being done, and the default implementation of localizedDescription takes advantage of that to return more specific text than it could otherwise. The fileTotalCountKey and fileCompletedCountKey keys in the userInfo dictionary are used for the overall count of files.