Contents

baseWritingDirection(at:)

Returns the base writing direction at the location you specify.

Declaration

func baseWritingDirection(at location: any NSTextLocation) -> NSTextSelectionNavigation.WritingDirection

Parameters

  • location:

    The location where you want to examine the text’s writing direction.

Return Value

The NSWritingDirection.

See Also

Changing the characteristics of the selection