Enumeration

NSTextWritingDirection

Options for specifying text writing direction used with NSWritingDirectionAttributeName.

Declaration

typedef enum NSTextWritingDirection : NSInteger {
    ...
} NSTextWritingDirection;

Overview

You can use the logical OR operator to combine these constants with NSWritingDirectionLeftToRight or NSWritingDirectionRightToLeft when used with NSWritingDirectionAttributeName to specify formatting controls defined by the Unicode Bidirectional Algorithm in Unicode Standard Annex #9.