You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Readme provides the following example for saving objects to file:
letdestination:NSURL=FileManager.defaultManager().URLsForDirectory(.DocumentDirectory, inDomains:.UserDomainMask)[0]
amazonS3Manager.download(at:"myFolder/fileName.jpg", to: destination)
This code doesn't compile in Swift 3. The file manager API is outdated, and it seems that the download method does not accept an NSURL as its to: parameter. Please update with a working example.
Been using this library for a while and really like it. Migrating to Swift 3 is just a PITA in general. Cheers!
The text was updated successfully, but these errors were encountered:
The Readme provides the following example for saving objects to file:
This code doesn't compile in Swift 3. The file manager API is outdated, and it seems that the
download
method does not accept an NSURL as itsto:
parameter. Please update with a working example.Been using this library for a while and really like it. Migrating to Swift 3 is just a PITA in general. Cheers!
The text was updated successfully, but these errors were encountered: