On 25/02/2012, at 2:47 PM, -Sergei G- wrote:

> I don't quite get the role of NSFileWrapper. It appears to provide a subset 
> of NSFileManager functionality.  Some of the Apple samples use NSFileWrapper 
> to implement bundle support, but it is not clear if that's a requirement or 
> just a choice of the developer.
> 
> Can someone elaborate beyond the official
> The NSFileWrapper class provides access to the attributes and contents of 
> file-system nodes. A file-system node is a file, directory, or symbolic link. 
> Instances of this class are known as file wrappers.


It allows you to represent a file that doesn't yet exist, even if it has a 
complex structure. You can construct its contents at your leisure, then, it can 
be written to a real file in one go.

--Graham



_______________________________________________

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

Reply via email to