userInterfaceLayoutDirection
The layout direction of the user interface.
Declaration
var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get set }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.