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
Thank you, Stephen, for all that work. I will study this and incorporate as much of this into my design as I can understand. There are a few simplifications I will make, though. In my application the download only takes place when a certain view controller is active and the user is involved, if only as an observer. Instead of a 5-second time-out on operations, there will be a "Cancel" button in the UI that the user can use to terminate anything that seems to be taking too long. Also, I found that I don't really need a separate NSResponseQueue. The main UI queue serves me just fine, and it makes it possible for me to access UI elements directly from within a response block.
I am a little curious why you found it necessary to put locks around accesses to boolean flags that are only set by one thread. I think you need to have both threads modifying the variable to need a lock.
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!