Enumeration

NSWorkspaceIconCreationOptions

These constants describe the NSWorkspaceIconCreationOptions values used by setIcon:forFile:options:. You can combine these using the C bitwise OR operator.

Declaration

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

Topics

Constants

NSExcludeQuickDrawElementsIconCreationOption

Suppress generation of the QuickDraw format icon representations that are used in macOS 10.0 through macOS 10.4.

NSExclude10_4ElementsIconCreationOption

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.