NSWritingDirectionFormatType
Constants for the writing direction attribute key.
Declaration
enum NSWritingDirectionFormatTypeOverview
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.