<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSUserInterfaceCompressionOptions/subtracting(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSUserInterfaceCompressionOptions(im)optionsByRemovingOptions:"
  },
  "title" : "subtracting(_:)"
}
-->

# subtracting(_:)

Creates a new compression options object with the supplied options removed.

```
func subtracting(_ options: NSUserInterfaceCompressionOptions) -> NSUserInterfaceCompressionOptions
```

## Parameters

`options`

A set of compression options to remove from the current object.

## Return Value

A new `NSCompressibleUserInterfaceOptions` object with the supplied options removed.

---

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)