---
title: userInterfaceLayoutDirection
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableview/userinterfacelayoutdirection
---

# userInterfaceLayoutDirection

The layout direction of the user interface.

## Declaration

```swift
var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get set }
```

## Discussion

Discussion The default value of this property is NSUserInterfaceLayoutDirection.leftToRight. When the property is set to NSUserInterfaceLayoutDirection.rightToLeft, the table view flips the visual order of the table columns, but the logical order remains unchanged. Although this property was introduced in macOS 10.12, in earlier versions the property always returned NSUserInterfaceLayoutDirection.leftToRight.

## See Also

### Layout Support

- [rect(ofColumn:)](appkit/nstableview/rect(ofcolumn:).md)
- [rect(ofRow:)](appkit/nstableview/rect(ofrow:).md)
- [rows(in:)](appkit/nstableview/rows(in:).md)
- [columnIndexes(in:)](appkit/nstableview/columnindexes(in:).md)
- [column(at:)](appkit/nstableview/column(at:).md)
- [row(at:)](appkit/nstableview/row(at:).md)
- [frameOfCell(atColumn:row:)](appkit/nstableview/frameofcell(atcolumn:row:).md)
- [columnAutoresizingStyle](appkit/nstableview/columnautoresizingstyle-swift.property.md)
- [sizeLastColumnToFit()](appkit/nstableview/sizelastcolumntofit().md)
- [noteNumberOfRowsChanged()](appkit/nstableview/notenumberofrowschanged().md)
- [tile()](appkit/nstableview/tile().md)
- [sizeToFit()](appkit/nstableview/sizetofit().md)
- [noteHeightOfRows(withIndexesChanged:)](appkit/nstableview/noteheightofrows(withindexeschanged:).md)
