It's not totally clear from the documentation, but I'm 99% positive that NSFileWrapper
will memory-map everything. The main use case for NSFileWrapper
is to embed files inside documents, where you'd presumably need access to said file at all times.
What are you trying to use the file wrapper for? I assume if you're mapping an entire directory it's not necessarily to embed media inside a document, but perhaps I'm mistaken. If you maybe talk a bit more about your use case, as that will influence what alternatives you might go for.