---
title: UITextWritingDirection
framework: uikit
role: symbol
role_heading: Type Alias
path: uikit/uitextwritingdirection
---

# UITextWritingDirection

The writing direction of the text for the language.

## Declaration

```swift
typealias UITextWritingDirection = NSWritingDirection
```

## Discussion

Discussion Constants of this type are returned from the baseWritingDirection(for:in:) method and are used as arguments of the setBaseWritingDirection(_:for:) method.

## See Also

### Deprecated

- [Style dictionary keys](uikit/style-dictionary-keys.md)
