• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileWrapper Role
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileWrapper Role


  • Subject: Re: NSFileWrapper Role
  • From: Graham Cox <email@hidden>
  • Date: Sat, 25 Feb 2012 23:27:57 +1100

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 (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSFileWrapper Role
      • From: Mike Abdullah <email@hidden>
References: 
 >NSFileWrapper Role (From: -Sergei G- <email@hidden>)

  • Prev by Date: Re: [Obj-C] if (self) vs. if (self != nil)
  • Next by Date: Re: NSFileWrapper Role
  • Previous by thread: NSFileWrapper Role
  • Next by thread: Re: NSFileWrapper Role
  • Index(es):
    • Date
    • Thread