Next Page > Hide TOC

Introduction to Bundle Programming Guide

Contents:

Organization of This Document


A bundle is a directory in the file system that groups related resources together in one place. Applications, frameworks, and plug-ins are all examples of bundles. Programs can also use document bundles instead of flat files to save complex content.

Many bundles are also packages, that is, they are presented to the user as opaque files rather than as directories. This opaqueness has advantages for both users and developers. For users, it simplifies the user’s interaction with applications and other bundles and makes it harder to delete critical resources accidentally. For developers, it simplifies the software distribution process.

Both Cocoa and Core Foundation provide API for accessing the contents of a bundle. For more information on accessing bundles from Cocoa, see the NSBundle class documentation. For information on accessing bundles from Core Foundation, see the CFBundle reference.

For information about framework bundles, see Framework Programming Guide.

Organization of This Document

This document includes the following articles:



Next Page > Hide TOC


© 2003, 2005 Apple Computer, Inc. All Rights Reserved. (Last updated: 2005-11-09)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.