Global Variable

NSProgressFileTotalCountKey

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.

Declaration

const NSProgressUserInfoKey NSProgressFileTotalCountKey;

See Also

File Operation Keys

NSProgressFileAnimationImageKey

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 NSProgressFileAnimationImageOriginalRectKey, 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:.

NSProgressFileAnimationImageOriginalRectKey

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 NSProgressFileAnimationImageKey, 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:.

NSProgressFileCompletedCountKey

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.

NSProgressFileIconKey

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.

NSProgressFileOperationKindKey

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

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