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

# NSUserInterfaceLayoutDirection

Specifies the directional flow of the user interface.

```
enum NSUserInterfaceLayoutDirection
```

## Overview

These constants are returned by [`userInterfaceLayoutDirection`](/documentation/AppKit/NSApplication/userInterfaceLayoutDirection).

## Topics

### Constants

[`NSUserInterfaceLayoutDirectionLeftToRight`](/documentation/AppKit/NSUserInterfaceLayoutDirection/leftToRight)

Layout direction is left to right.

[`NSUserInterfaceLayoutDirectionRightToLeft`](/documentation/AppKit/NSUserInterfaceLayoutDirection/rightToLeft)

Layout direction is right to left.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)