Contents

baseWritingDirection

The initial writing direction used to determine the actual writing direction for text.

Declaration

var baseWritingDirection: NSWritingDirection { get set }

Discussion

The default value of this property is NSWritingDirection.natural. The Text system uses this value as a hint for calculating the actual direction for displaying Unicode characters. If you know the base writing direction of the text you are rendering, you can set the value of this property to the correct direction to help the text system.

See Also

Modifying Textual Attributes