Instance Property

valueTransformerName

The name of the transformer used to transform 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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software