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 out that the first line should be:
if let client = DropboxClientsManager.authorizedClient {
But I can't find documentation for the rest.
I just want to be able to itemize the files in the user's iOS SwiftyDropbox app and work my way forward from there.
Can somebody help me?
!!! I FIGURED IT OUT. I'M NOT ABLE TO DELETE THIS POST!!!