I'm making a photo managing app. I have created a class called photo, which has the name of the photo, notes on the photo, and the image. I know how to set the name and notes - they're both NSStrings, but what data type should I use for my image?
At the moment, I'm using NSData, is that correct?
Edit
Apparently, NSData is right. So, how should I get an image from a UIImage into the NSData object and back again?