---
title: "transformable(by:)"
framework: swiftdata
role: symbol
role_heading: Type Method
path: "swiftdata/schema/attribute/option/transformable(by:)-lunz"
---

# transformable(by:)

## Declaration

```swift
static func transformable(by transformerName: String) -> Schema.Attribute.Option
```

## See Also

### Accessing property options

- [allowsCloudEncryption](swiftdata/schema/attribute/option/allowscloudencryption.md)
- [externalStorage](swiftdata/schema/attribute/option/externalstorage.md)
- [preserveValueOnDeletion](swiftdata/schema/attribute/option/preservevalueondeletion.md)
- [spotlight](swiftdata/schema/attribute/option/spotlight.md)
- [unique](swiftdata/schema/attribute/option/unique.md)
- [transformable(by:)](swiftdata/schema/attribute/option/transformable(by:)-9d4xh.md)
- [ephemeral](swiftdata/schema/attribute/option/ephemeral.md)
- [codable](swiftdata/schema/attribute/option/codable.md)
