---
title: NSUserInterfaceLayoutOrientation
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nsuserinterfacelayoutorientation
---

# NSUserInterfaceLayoutOrientation

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

## Declaration

```swift
enum NSUserInterfaceLayoutOrientation
```

## Topics

### Constants

- [NSUserInterfaceLayoutOrientation.horizontal](appkit/nsuserinterfacelayoutorientation/horizontal.md)
- [NSUserInterfaceLayoutOrientation.vertical](appkit/nsuserinterfacelayoutorientation/vertical.md)

### Initializers

- [init(rawValue:)](appkit/nsuserinterfacelayoutorientation/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring the Stack View Layout

- [orientation](appkit/nsstackview/orientation.md)
- [alignment](appkit/nsstackview/alignment.md)
- [spacing](appkit/nsstackview/spacing.md)
- [useDefaultSpacing](appkit/nsstackview/usedefaultspacing.md)
- [edgeInsets](appkit/nsstackview/edgeinsets.md)
- [hasEqualSpacing](appkit/nsstackview/hasequalspacing.md)
- [distribution](appkit/nsstackview/distribution-swift.property.md)
- [NSStackView.Distribution](appkit/nsstackview/distribution-swift.enum.md)
