I have an exported UTI which is a document package, and the file and folder structure within it are dynamic and could be changed from another device. NSMetadataQuery will not read within a document package. So my questions are:
- How can I receive a list of files contained in the package along with their download status?
- How can I keep the list updated when files are added to the package from other devices?
Thanks!
I have inferred, in part for the conversation in this thread: (https://forums.developer.apple.com/thread/87235), that the file package is trated by iCloud as a single file and is reported with a single download status. I think that means that one should simply implement readFromFileWrapper in order to receive changes through file coordination.
I have yet to see direct confirmatoin for this though, and the docs elude to this but there are no specific examples that I know of.