0

With the impending demise of the Objective-C API for Dropbox I am looking to migrate a few simple calls.

I was able to migrate to the authenticate without issue, but am having trouble finding replacements for the following API. Was hoping someone might be able to help:

Calls out:

[restClient loadMetadata:@"/"];
[restClient uploadFile:fileName toPath:destDir withParentRev:rev fromPath:path];
[restClient loadFile:@"" into:localpath];

Callbacks:

-(void) restClient:(DBRestClient *)client loadedMetadata:(DBMetadata *)meta{}
-(void) restClient:(DBRestClient *)client uploadedFile:(NsString *)destpath from:(NSString *) srcPath metadata:(DBMetadata *) meta {}
-(void) restClient:(DBRestClient *)client loadedFile:(NsString *)localpath contenttype:(NSString *) type metadata:(DBMetadata *) meta {}
Greg
  • 16,359
  • 2
  • 34
  • 44
purring pigeon
  • 4,141
  • 5
  • 35
  • 68

1 Answers1

1

Presumably you're referring to using the official Objective-C SDK for Dropbox API v2, in which case:

There are also other versions of these methods, so be sure to check out the rest of the documentation to choose what you need for your use case.

Greg
  • 16,359
  • 2
  • 34
  • 44