iphone Programming Glossary: myexample.txt
A simple sync with the iPhone DropBox API http://stackoverflow.com/questions/5950168/a-simple-sync-with-the-iphone-dropbox-api paths objectAtIndex 0 Get documents directory NSString filePath documentsDirectory stringByAppendingPathComponent @ MyExample.txt NSError error self.restClient uploadFile @ MyExample.txt toPath @ MyExamplePath fromPath filePath void DBdownload id sender.. filePath documentsDirectory stringByAppendingPathComponent @ MyExample.txt NSError error self.restClient uploadFile @ MyExample.txt toPath @ MyExamplePath fromPath filePath void DBdownload id sender NSArray paths NSSearchPathForDirectoriesInDomains NSDocumentDirectory.. paths objectAtIndex 0 Get documents directory NSString filePath documentsDirectory stringByAppendingPathComponent @ MyExample.txt NSError error self.restClient loadFile @ myExamplePath MyExample.txt intoPath filePath However I am now wondering how to..
|