We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
ajnasaj_tb
8 years agoExplorer | Level 3
dropbox-sdk-obj-c issue
Hi there! I am new with your API but now I got a task to update it. I am trying to migrate our app from API v1 to API v2 and this is like hopeless fighting. First of all, we don't use any...
- 8 years agoYes, using authorizedClient is the right way to check that.
And that's correct, the new SDK doesn't use DBRestClientDelegate or DBNetworkRequestDelegate.
To determine if an entry is a file or folder, you can use isKindOfClass to check the type, as shown here:
https://github.com/dropbox/dropbox-sdk-obj-c#response-handling-edge-cases
ajnasaj_tb
Explorer | Level 3
Thanks for reply!
Ok, I will check there more. I have added ObjectiveDropboxOfficial and it works now, thank you =)
Yes, it is just warning and I still can build project.
I have some questions about its usage:
before we used [[DBSession sharedSession] isLinked] to check whether user is linked or not. Is any easy possibility to check it now?
I can check it with
[DropboxClientsManager authorizedClient];
!= nil || [DropboxClientsManager authorizedTeamClient] != nil) ?
Also DBRestClientDelegate and DBNetworkRequestDelegate - we don't need them now ?
I have searched some similar questions in the community but no success.
Before I used DBMetadata class - property isDirectory. How can check whether it DBFILESMetada is directory or not.
I see DBFILESMetada has name, pathLower, pathDisplay.
Is there an easy way (like isDirectory before) to check item type?
Sorry for simply questions - I am new with these API.
Thanks
Greg-DB
8 years agoDropbox Staff
Yes, using authorizedClient is the right way to check that.
And that's correct, the new SDK doesn't use DBRestClientDelegate or DBNetworkRequestDelegate.
To determine if an entry is a file or folder, you can use isKindOfClass to check the type, as shown here:
https://github.com/dropbox/dropbox-sdk-obj-c#response-handling-edge-cases
And that's correct, the new SDK doesn't use DBRestClientDelegate or DBNetworkRequestDelegate.
To determine if an entry is a file or folder, you can use isKindOfClass to check the type, as shown here:
https://github.com/dropbox/dropbox-sdk-obj-c#response-handling-edge-cases
- ajnasaj_tb8 years agoExplorer | Level 3
Thanks, Greg! It helps a lot.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,878 PostsLatest Activity: 7 hours agoIf 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 or Facebook.
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!