Contents

NSWritingDirectionFormatType

Constants for the writing direction attribute key.

Declaration

enum NSWritingDirectionFormatType

Overview

Use these constants as the values for the writingDirection key in Swift or the NSWritingDirectionAttributeName key in Objective-C.

You can use the logical OR operator to combine these constants with NSWritingDirection.leftToRight or NSWritingDirection.rightToLeft when used with the writingDirection key in Swift or the NSWritingDirectionAttributeName key in Objective-C to specify formatting controls defined by the Unicode Bidirectional Algorithm in Unicode Standard Annex #9.

Topics

Constants

Initializers

See Also

Getting text content attributes