---
title: valueTransformerName
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsattributedescription/valuetransformername
---

# valueTransformerName

The name of the transformer to use for the attribute value.

## Declaration

```swift
var valueTransformerName: String? { get set }
```

## Discussion

Discussion The attribute must be of type NSTransformedAttributeType. The transformer must output an NSData object from transformedValue(_:) and must allow reverse transformations. If this value is nil, Core Data uses a default a transformer that uses NSCoding to archive and unarchive the attribute value.

## See Also

### Configuring the behavior

- [allowsCloudEncryption](coredata/nsattributedescription/allowscloudencryption.md)
- [allowsExternalBinaryDataStorage](coredata/nsattributedescription/allowsexternalbinarydatastorage.md)
- [defaultValue](coredata/nsattributedescription/defaultvalue.md)
- [preservesValueInHistoryOnDeletion](coredata/nsattributedescription/preservesvalueinhistoryondeletion.md)
