Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Under NEXTSTEP,
Mac OS X, iOS, and GNUstep, a bundle is a directory that allows related
resources such as software code to be grouped together. They were
introduced into the Macintosh world as packages in Mac OS 9 and are
similar in concept to the Application Directories used in RISC OS and on
the ROX Desktop, and the RUNZ bundles in Super OS. Applications,
frameworks, and plugins are commonly grouped as bundles. They are
manipulated with the NSBundle class in the NeXT Foundation kit and in
Foundation in Cocoa, and with CFBundle under Core Foundation. A bundle
usually contains one file representing executable code, and files that
represent resources such as nibs, 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.