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...
Stephen C.14
Dropbox Staff
10 years agoNo worries! Hopefully it will be of some help. I would just make sure that you weigh whether it's important to track the response `DBTask` objects that you receive back, so that if you're downloading a lot of files from a folder, you have a way of canceling them all at once (if you feel like that's important).
As far as the lock around the boolean, I did that to make sure that the following were one atomic transaction: 1. check if should continue 2. create a download request 3. store the download task object for later use (to cancel). Otherwise, if the cancel function was called, a request might be made but not stored in the task data structure, and therefore would not be cancelled when iterated through. Does that make sense? Probably could have used an `NSOperationQueue` rather than a lock.
Let me know if you run into any issues down the road. And please, if you have any additional feedback for the SDK, do let me know!
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!