iCloudDocumentSync icon indicating copy to clipboard operation
iCloudDocumentSync copied to clipboard

Change uses of fileExistsAtPath to isUbiquitousItemAtURL

Open simonp2014 opened this issue 11 years ago • 1 comments

If I am understanding this correctly the use of fileExistsAtPath need to be reviewed to see if isUbiquitousItemAtURL should be used instead. I ran into the issue with using deleteDocumentWithName on a document that had not been downloaded

I think there are more operations that would not work correctly if a document had not been downloaded, e.g. rename

simonp2014 avatar Jan 28 '15 09:01 simonp2014

Yeah I'm having this exact problem. Since it doesn't find the file (that's briefly .[file name].cloud) it goes right to create the file. And I get all these duplicates appended with a count in the title.

willlarche avatar Jan 02 '17 15:01 willlarche