File Wrappers with Core Data Documents

Last Revision:
Version 1.0, 2009-04-29
This sample demonstrates how directory file wrappers can be used with NSPersistentDocument.
Build Requirements:
Xcode Tools 3.0 and Mac OS X Version 10.5
Runtime Requirements:
Mac OS X Version 10.5

A directory file wrapper allows you to adopt a package format for your documents. Document packages give the illusion of a single document to users but provide you with more flexibility in how you store the document data internally. The standard implementation of NSPersistentDocument does not support this functionality, but it may be useful for some Core Data Documents to be able to use a package format. For example, it may be preferable to store image data as separate files rather than embedding that data in the persistent store.