In sample iPhoneCoreDataRecipes, UIImage can be saved to database with core data tech.
NSValueTransformer is used to do conversion from UIImage to NSData, and vice verse.
But the question is that there is no obvious invocation of NSValueTransformer to do such converting in source codes. So just wonder that how this works ?
A interesting discussion can be referred here
The NSValueTransformer is specified in the Recipes.xcdatamodel of the project. If you open the .xcdatamodel in xcode, then click on Image and then the image property (the type is transformable) and you can specify the Value Transformer Class name in the gui tool.