Saving Images With Core Data

We won’t actually save images in core data but use it as a means for retrieving images from the app’s sandboxed file system. We will generate a unique name for that image and save the .png to the app’s file system. Then save the name of that .png as an attribute value in core data.