Discussions
-
What is ListFolderContinueArg?
What is ListFolderContinueArg? What do those comments in the code mean? Would it be in any way helpful for me to know what that is saying? /// The ListFolderContinueArg struct open class ListFolderContinueArg : CustomStringConvertible { /// The cursor returned by your last call to listFolder or listFolderContinue. public…
-
How do I know when there has been a change in the user's Dropbox account?
How do I know when there has been a change in the user's Dropbox account made from outside of the current iOS device such as a new file created? I also need to know if the user logged out, or if a different user logged in on the iOS device. Is there a way that Dropbox notifies my app of these events? Where do I get…
-
openURL closure of DropboxClientsManager.authorizeFromController(_:controller:openURL:) not executed
I have this code: DropboxClientsManager.authorizeFromController(UIApplication.shared, controller: self) { (url: URL) in print("**!!!**") UIApplication.shared.open(url, options: [:]) { success in print("**!!!") self.navigationItem.prompt = "**!!!" } print("*****") self.navigationItem.prompt = "*****" } I don't think the…
-
Where is the documentation for DropboxClient.files.upload()?
I can't find the documentation for DropboxClient.files.upload() at SwiftyDropbox Reference. I would like to know if that method overwrites the file if one exists in the designated path.
-
I can't get a logged in instance of DropboxClient
In another post about the 10814 error it said I could ignore the error, but in this case it looks like I'm not getting the instance of DropboxClient even after I log in. I get the following messages in my debug window: Spoiler DropboxViewController.viewWillAppear(_:) 2018-08-06 20:23:28.434567-0500 Gnolaum[35840:1973880]…
-
Why does PhotoWatch use Apple App Groups instead of just Dropbox?
Why does the PhotoWatch SwiftyDropbox sample take the design feature to use Apple App Groups instead of just a Dropbox folder? Is there a particular advantage in this design approach?
-
How do I get the information for the account that is currently logged in?
I would like to show the user the account that is currently logged in when he opens the app if he is already logged in in SwiftyDropbox in iOS. I am not able to find the documentation for that. There is currently no search feature in the documentation for Dropbox for Swift.
-
files.listFolder error code -999 cancelled
I have the following code: let client = DropboxClient(accessToken: "<ACCESS_TOKEN>") print("!!! client=", client) client.files.listFolder(path: "").response { response, error in if let result = response { print("Folder contents:") for entry in result.entries { print(entry.name) } } else { print(error!) } } } I'm getting…
-
Why can't I access this question?
I found this link on stackoverflow (https://www.dropboxforum.com/t5/API-support/999-quot-cancelled-quot-Error/td-p/192322) that is supposed to answer a question I have, but when I click on it, I get an error that says, "You do not have sufficient privileges for this resource or its parent to perform this action." It should…
-
filesListFolder
I found old code at GitHub/SwiftyDropbox/PhotoWatch: if let client = Dropbox.authorizedClient { // List folder client.filesListFolder(path: "").response { response, error in if let result = response { println("Folder contents:") for entry in result.entries { println(entry.name) } } else { println(error!) } } } I figured…
-
How do I get started implementing Dropbox on my iOS app using Swift?
How do I get started implementing Dropbox on my iOS app using Swift?