We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Lou P.6
10 years agoHelpful | Level 6
is it possible to use api from an NSObject class vs a View Controller?
I want to create a file utility that isn't tied to a View Controller. I have one connection to the API working in a View Controller, but I'd like to create a standard NSObject module and simply instantiate a connection to the Dropbox API and do all the file work from there.
It calls the app delegate but the API never calls back...
Am I asking for too much to have just any Objective C program call on it's own? (by the way I will move to swift once I'm done with this version)
1 Reply
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
Hi Lou, I'm not sure I fully follow your question. Can you clarify what you mean by "It calls the app delegate but the API never calls back", and share some sample code? Thanks in advance!
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!