I\'ve been learning swift rather quickly, and I\'m trying to develop an OS X application that downloads images.
I\'ve been able to parse the JSON I\'m looking for into a
UIImagePNGRepresentaton() function had been deprecated. try image.pngData()