I need to save an image picked by an image picker on disk and than associate it to a managed object.
I want to store the image path in the managed object (imagePath attribute is nsstring) but I don't know how to call the image because it must be always available until user delete the managed object.
I thought to call every image with managed object's ID but I believe that it is too long and it's still temporary when I try to save my image...
How can I call every image for each managed object?
Thank you!