Enumeration

NSUserInterfaceLayoutDirection

Specifies the directional flow of the user interface. These constants are returned by userInterfaceLayoutDirection.

Declaration

enum NSUserInterfaceLayoutDirection : Int

Topics

Constants

case leftToRight

Layout direction is left to right.

case rightToLeft

Layout direction is right to left. This is appropriate when running with localizations such as Arabic or Hebrew that should have the user interface layout origin on the right edge of the coordinate system.

See Also

User Interface Layout Direction

var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection

The layout direction of the user interface.