<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSUserInterfaceLayoutOrientation",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSUserInterfaceLayoutOrientation"
  },
  "title" : "NSUserInterfaceLayoutOrientation"
}
-->

# NSUserInterfaceLayoutOrientation

The stack view layout directions, and user interface axes for hugging priority and clipping resistance.

```
enum NSUserInterfaceLayoutOrientation
```

## Topics

### Constants

[`NSUserInterfaceLayoutOrientation.horizontal`](/documentation/AppKit/NSUserInterfaceLayoutOrientation/horizontal)

The horizontal orientation.

[`NSUserInterfaceLayoutOrientation.vertical`](/documentation/AppKit/NSUserInterfaceLayoutOrientation/vertical)

The vertical orientation.



---

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)