Instance Property

baseWritingDirection

The base writing direction for the receiver.

Declaration

var baseWritingDirection: NSWritingDirection { get }

Discussion

If you the value of this property is NSWritingDirectionNaturalDirection, the receiver resolves the writing direction to either NSWritingDirectionLeftToRight or NSWritingDirectionRightToLeft, depending on the direction for the user’s language preference setting.

See Also

Writing Direction

class func defaultWritingDirection(forLanguage: String?) -> NSWritingDirection

Returns the default writing direction for the specified language.