Type Property

fileOperationKindKey

A value is required for this key in the user info dictionary when the progress kind is set to file. The corresponding value must be one of the entries listed in File operation kinds.

Declaration

static let fileOperationKindKey: ProgressUserInfoKey

See Also

File Operation Keys

static let fileAnimationImageKey: ProgressUserInfoKey

The corresponding value must be an NSImage, typically an icon to represent the file. This entry is optional, but if present along with a value for fileAnimationImageOriginalRectKey, and the Dock has an item for the folder containing the relevant file (such as the Downloads folder), the Dock will use them to show an animation of the file flying into the Dock, before invoking acknowledgeWithSuccess:.

static let fileAnimationImageOriginalRectKey: ProgressUserInfoKey

The corresponding value must be an NSValue containing an NSRect, in screen coordinates, to indicate the starting location of the image on screen. This entry is optional, but if present along with a value for fileAnimationImageKey, and the Dock has an item for the folder containing the relevant file (such as the Downloads folder), the Dock will use them to show an animation of the file flying into the Dock, before invoking acknowledgeWithSuccess:.

static let fileCompletedCountKey: ProgressUserInfoKey

The corresponding value must be an NSNumber containing an integer to represent the number of completed files. This entry is optional; if you set a value for this key, the auto-generated localizedAdditionalDescription string will make use of it.

static let fileIconKey: ProgressUserInfoKey

The corresponding value must be an NSImage, typically an icon to represent the file. This entry is optional, but if it is present, the Finder will use it to show the icon of a file tracked by a progress object.

static let fileTotalCountKey: ProgressUserInfoKey

The corresponding value must be an NSNumber containing an integer to represent the total number of files affected. This entry is optional; if you set a value for this key, the auto-generated localizedAdditionalDescription string will make use of it.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software