<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDrawer/State-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSDrawerState"
  },
  "title" : "NSDrawer.State"
}
-->

# NSDrawer.State

These constants specify the possible states of a drawer.

```
enum State
```

## Overview

These constants are returned by [`state`](/documentation/AppKit/NSDrawer/state-swift.property).

## Topics

### Constants

[`NSDrawer.State.closedState`](/documentation/AppKit/NSDrawer/State-swift.enum/closedState)

[`NSDrawer.State.openingState`](/documentation/AppKit/NSDrawer/State-swift.enum/openingState)

[`NSDrawer.State.openState`](/documentation/AppKit/NSDrawer/State-swift.enum/openState)

[`NSDrawer.State.closingState`](/documentation/AppKit/NSDrawer/State-swift.enum/closingState)



---

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)