I have a transient attribute that holds a pointer to an image. The class of that image is specified in the core data model file as UIImage
but I need to also support NSImage
.
How would I support both if the model file is asking me for the class name and the module name?
EDIT
My model is backed by core data, so I am using a scheme that Apple recommends to ensure my local persistence plays nicely with iCloud.
I used a typealias for the type.