When trying to use a system supplied NSValueTransformer in Core Data I get the following warning:
Warning: no NSValueTransformer with class name 'NSKeyedUnarchiveFromDataTransformerName' was found for attribute 'someAttribute' on entity 'SomeEntity'
How come the NSKeyedUnarchiveFromDataTransformer is not recognized?
Turns out that the actual string that the
NSKeyedUnarchiveFromDataTransformerpoints too for this transformer isNSKeyedUnarchiveFromData. But even more importantly: if you specify this, the transformer will be used in the wrong direction. Leave the transformer name field empty to useNSKeyedUnarchiveFromDataTransformercorrectly.