Application package

A package is a folder that has been flagged specially so that the Finder presents it to the user as a single document. This discourages users from messing with the implementation details accidentally, while making it easy to do so if the need arises.
Packages are a conceptual replacement for the resource fork (see ResEdit), with many advantages:
* Resources (strings, images, code, etc) are now stored as discrete files instead of byte ranges within a single file (the document's resource fork). This reduces the need for special resource editors and APIs to access the resource fork -- no more need for ResEdit.
* Developers (and users) can manipulate the contents of a package in the Finder by invoking the "Show package contents" contextual menu (right click) command.
All Mac OS X applications (and many documents) are packages.
In Mac OS 9 there was a utility called Package First Aid that re-flagged package folders as such.
Category:Mac OS X