iOS - Download file only if modified (NSURL & NSData)
I am downloading a bunch of image files from a server, and I want to ensure that they are downloaded only if they are newer. This method currently downloads the images just fine. However, I don't want to waste time or energy re-downloading images every time the user logs into the app. Instead, I want to only download any files that A) Don't exist B) Are newer on the server than on the device Here is how I am downloading the images: *The image url is saved in Core Data with the video it is associated to. The url is generated using a simple conversion method I build (generateThumbnailURL) -(void