Master data supports the Binary Data type. When you define a model with a Binary Data field, it creates a model class with an NSData field. You can move the image to the NSData field, and CoreData will save it for you.
Then you can use UIImage initWithData: to load the image from the NSData field.
Hope this helps!
source
share