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

# NSWindow.NumberListOptions

Options to use when retrieving window numbers from the system.

```
struct NumberListOptions
```

## Overview

If you pass `0` instead, then the list the method returns contains window numbers for visible windows on the active space belonging to the calling application.

## Topics

### Constants

[`allApplications`](/documentation/AppKit/NSWindow/NumberListOptions/allApplications)

[`allSpaces`](/documentation/AppKit/NSWindow/NumberListOptions/allSpaces)

### Creating Number List Options

[`init(rawValue:)`](/documentation/AppKit/NSWindow/NumberListOptions/init(rawValue:))

Creates a window number list options using the given 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)