<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWorkspace/IconCreationOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSWorkspaceIconCreationOptions"
  },
  "title" : "NSWorkspace.IconCreationOptions"
}
-->

# NSWorkspace.IconCreationOptions

Constants that describe options for creating icons.

```
struct IconCreationOptions
```

## Overview

Use these constants with the [`setIcon(_:forFile:options:)`](/documentation/AppKit/NSWorkspace/setIcon(_:forFile:options:)) method. You can combine these using the C bitwise OR operator.

## Topics

### Creation Options

[`excludeQuickDrawElementsIconCreationOption`](/documentation/AppKit/NSWorkspace/IconCreationOptions/excludeQuickDrawElementsIconCreationOption)

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

[`exclude10_4ElementsIconCreationOption`](/documentation/AppKit/NSWorkspace/IconCreationOptions/exclude10_4ElementsIconCreationOption)

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

### Initializers

[`init(rawValue:)`](/documentation/AppKit/NSWorkspace/IconCreationOptions/init(rawValue:))

Initializes an icon creation option using the specified raw value.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)