cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SwiftyDropbox download error in tutorial

SwiftyDropbox download error in tutorial

Bill P.12
New member | Level 1

When the SwiftyDropbox tutorial was implemented at the 1.0 release, the following error was received: 

“Missing argument for parameter 'destination' in call” for this line of code: “client.files.download(path: "/hello.txt").response { response, error in”

 

The error can be eliminated by changing the line of code to: “client.files.download(path: "/hello.txt", destination: destination).response { response, error in” 

The documentation may need to be changed.

1 Reply 1

Re: SwiftyDropbox download error in tutorial

Greg-DB
Dropboxer

Thanks for the report! We'll get that fixed up.

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?