---
title: "storage(_:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uitextdirection/storage(_:)"
---

# storage(_:)

Specifies the direction of text storage.

## Declaration

```swift
static func storage(_ direction: UITextStorageDirection) -> UITextDirection
```

## See Also

### Text direction types

- [layout(_:)](uikit/uitextdirection/layout(_:).md)
