I want to store UIImage in core data and use the default value transformer. Apple doc says:
If you are using the model editor in Xcode, select Transformable in the attribute’s Type popup and type the name in the Value Transformer Name text field.
Type what name exactly?
I'm going to refer you to a previous answer. Look at the comment to! https://stackoverflow.com/a/3909082
As you can see, if you are targeting iOS 5+, you should be able to just mark it as transformable and be good. Otherwise, you're going to have to implement a subclass of NSValueTransformer, and pass in the name of that class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With