It sounds like you want your file format to be what is known as a “package”. It’s a directory, but is (mostly) presented as a single file.
NSFileWrapper is an API for working with files, it does not directly control whether something is a package or not. It just happens to be the most convenient API in Cocoa for working with packages and documents, and so NSDocument has built in support for that. Mike. > On 4 Jun 2016, at 12:01, Peter Hudson <peter.hud...@me.com> wrote: > > Hi All > > Our users have now decided to push the bounds of the system - resulting in > file sizes that are getting to large for comfort. > > It would be possible to fairly easily split the current file format into two > and store it as two separate units. This is a particularly interesting > solution as half the data rarely changes. It would however be neccessary for > the two files to be handled transparently, by the user, as one unit. > > I have been looking over the docs for NSFileWrapper. I can’t see if it is > possible to construct a file wrapper that presents itself to the user as ‘one > file’ complete with icon - and hides the multiple files in the wrapper. > > Any suggestions / pointers gratefully recieved ! > > Peter > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/mabdullah%40karelia.com > > This email sent to mabdul...@karelia.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com