• 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: File/bundle Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File/bundle Question


  • Subject: Re: File/bundle Question
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 18 May 2001 10:08:16 -0700

On Thursday, May 17, 2001, at 08:15 PM, Karl Goiser wrote:

Directories in the file system can either be 'folders' or 'bundles'. For example, a .rtfd file looks like a document in the Finder, but is actually a directory - and NSFileManager treats it as such, but I want to treat it as a 'file'.


We usually say "package" to refer to something that is a directory, but is treated by the Finder as a single document; this covers things like .rtfd and .nib that aren't really in one of the bundle formats, as well as things like .app that are.

There is an NSWorkspace method, isFilePackageAtPath:, to let you figure out whether a particular directory is a package or not.

Douglas Davidson


References: 
 >File/bundle Question (From: Karl Goiser <email@hidden>)

  • Prev by Date: Serial port support
  • Next by Date: Re: Type/Creator Codes
  • Previous by thread: File/bundle Question
  • Next by thread: Typing in Dialog -> set a "default" text field
  • Index(es):
    • Date
    • Thread