Note. I did not do this myself, so all the information below is just reading the documentation:
The NSMetadataItem class has, among other things, an NSMetadataUbiquitousItemIsUploadedKey attribute NSMetadataUbiquitousItemIsUploadedKey . Knowing this, you should be able to configure NSMetadataQuery , which notifies you as soon as the item has been loaded.
source share