Enumeration

NSWorkspaceIconCreationOptions

Constants that describe options for creating icons.

Declaration

typedef enum NSWorkspaceIconCreationOptions : NSUInteger {
    ...
} NSWorkspaceIconCreationOptions;

Overview

Use these constants with the setIcon:forFile:options: method. You can combine these using the C bitwise OR operator.

Topics

Creation Options

NSExcludeQuickDrawElementsIconCreationOption

An option to suppress generation of the QuickDraw format icon representations that are used in macOS 10.0 through macOS 10.4.

NSExclude10_4ElementsIconCreationOption

An option to suppress generation of the new higher resolution icon representations that are supported in macOS 10.4.

See Also

Managing Icons

- iconForFile:

Returns an image containing the icon for the specified file.

- iconForFileType:

Returns an image containing the icon for files of the specified type.

- iconForFiles:

Returns an image containing the icon for the specified files.

- setIcon:forFile:options:

Sets the icon for the file or directory at the specified path.