---
title: transform
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiconfigurationtextattributestransformer-swift.struct/transform
---

# transform

A closure that defines the text transformation.

## Declaration

```swift
let transform: (AttributeContainer) -> AttributeContainer
```

## Discussion

Discussion This closure accepts a container with the current text attributes and returns a container with the new text attributes.
