How to download a file and save it to your app’s Documents directory
Say you had the URL to a file on the web and you’d like to save said file in the app’s Documents directory. I thought it would be as simple as using the NSFilemanager and copying the URL. But it’s a little more complex than that. Instead, we can use NSData to retrieve the data […]