Suppose I have an NSFileWrapper directory. This directory consists of several levels of directories and files. Some of the files are large. Are all these files loaded into memory or are they lazily loaded?
If they are loaded into memory, are there any alternatives to NSFileWrapper with similar functionality that will not load files into memory? Can I connect UIDocument to a UIDocument ?
This is for a document-based application that uses UIDocument that syncs with iCloud. A document may have images and videos embedded in it. Each image / video has a preview image (thumbnail) that is shown in the HTML document. Full-size images or videos should not be loaded into memory, but loaded on demand.
I also need a way to add a resource without loading it into memory. Something like "initWithAsset: (ALAsset *)" would be ideal.
source share