cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

is it possible to use api from an NSObject class vs a View Controller?

is it possible to use api from an NSObject class vs a View Controller?

Lou P.6
Helpful | Level 6

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 1

Greg-DB
Dropbox Staff

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! 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?