Contents

valueTransformerName

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

Declaration

var valueTransformerName: String? { get set }

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