Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Robert S.138
10 years agoHelpful | Level 7
Threads, tasks, and the Objective-C SDK
Having completed an Android version of my app, I was hoping that the Objective-C version for iOS would be similar. But looking at the DBRoulette example, there seems to be a big difference regarding...
Robert S.138
10 years agoHelpful | Level 7
Stephen,
Having worked a little more with the SDK and gotten more familiar with it, I don't think it needs to be changed. Having API that block carries its own problems of interruptibility, etc. It is only a couple of lines of code to add a custom wait for completion.
As far as the locked flags, I see why your implementation needs them. But mine is simpler. I only have one single task that performs all the downloads sequentially. I realize this probably means lower performance, but I think it is worth it for the simplicity. Each download can potentially create an error requiring user response to "Skip or Abort". The most logical thing for the user to expect if he Aborts is that none of the files after that file have been transferred. But if there are simultaneous downloads, there may be several successful downloads that occur after the one that had an error, and by the time the user decides to Abort, those downloads have already completed. So with only one task that is manually started, there is no question about which tasks need to be cancelled.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!