Enumeration

NSLocaleLanguageDirection

The directions that a language may take across a page of text.

Declaration

typedef enum NSLocaleLanguageDirection : NSUInteger {
    ...
} NSLocaleLanguageDirection;

Overview

Use these constants with the methods lineDirectionForLanguage: and characterDirectionForLanguage:.

Topics

Constants

NSLocaleLanguageDirectionUnknown

The direction of the language is unknown.

NSLocaleLanguageDirectionLeftToRight

The language direction is from left to right.

NSLocaleLanguageDirectionRightToLeft

The language direction is from right to left.

NSLocaleLanguageDirectionTopToBottom

The language direction is from top to bottom.

NSLocaleLanguageDirectionBottomToTop

The language direction is from bottom to top.

See Also

Getting Line and Character Direction for a Language

+ characterDirectionForLanguage:

Returns the direction of the sequence of characters in a line for the specified ISO language code.

+ lineDirectionForLanguage:

Returns the direction of the sequence of lines for the specified ISO language code.