pinkstone.co.uk
How to convert a UIImage into NSData
You can store a UIImage (or an NSImage on Mac) as raw data. This can be useful if you’d like to save it in Core Data. Here’s how you convert a UIImage into NSData: [crayon-5d062c0f83a4f…