Application Bundle

Application Bundle

In NEXTSTEP, OPENSTEP, their lineal descendants OS X, iOS, and in GNUstep, a bundle is a directory that allows related resources such as an application's executable and its graphics to be grouped together, appearing as a single file to the user.

Examples include applications, frameworks, and plugins. They are accessed with the NSBundle class in Cocoa, NEXTSTEP and GNUstep's Foundation frameworks, and with CFBundle in Core Foundation.

A bundle usually contains one file representing executable code, and files that represent resources such as nibs, templates, images, sounds, and other media. On some other systems, such as Microsoft Windows, these resources are usually included directly in the executable file itself at compile time. On older Macintoshes, a similar technique is used, where additional metadata can be added to a file's resource fork. The Finder treats bundles, which can also be referred to as packages, as opaque files with no underlying structure.

The Uniform Type Identifier (UTI) for an Apple bundle is com.apple.bundle.

Similar in concept are the application directories used in RISC OS and on the ROX Desktop, and the RUNZ bundles in Super OS.

Read more about Application Bundle:  OS X Application Bundles, OS X Framework Bundles, OS X Loadable Bundles, Other Bundle Formats, .lproj

Famous quotes containing the words application and/or bundle:

    It is known that Whistler when asked how long it took him to paint one of his “nocturnes” answered: “All of my life.” With the same rigor he could have said that all of the centuries that preceded the moment when he painted were necessary. From that correct application of the law of causality it follows that the slightest event presupposes the inconceivable universe and, conversely, that the universe needs even the slightest of events.
    Jorge Luis Borges (1899–1986)

    “There is Lowell, who’s striving Parnassus to climb
    With a whole bale of isms tied together with rhyme,
    He might get on alone, spite of brambles and boulders,
    But he can’t with that bundle he has on his shoulders,
    The top of the hill he will ne’er come nigh reaching
    Till he learns the distinction ‘twixt singing and preaching;
    James Russell Lowell (1819–1891)