Bundle Programming Guide
PDF
Introduction
About Bundles
Bundles and Packages
How the System Identifies Bundles and Packages
About Bundle Display Names
The Advantages of Bundles
Types of Bundles
Creating a Bundle
Programmatic Support for Accessing Bundles
Guidelines for Using Bundles
Bundle Structures
Application Bundles
What Files Go Into an Application Bundle?
Anatomy of an iPhone Application Bundle
The iPhone Application Bundle Structure
The Information Property List File
Application Icon and Launch Images
Resources in an iPhone Application
Anatomy of a Mac OS X Application Bundle
The Structure of a Mac OS X Application Bundle
The Information Property List File
The Resources Directory
The Application Icon File
Localizing the Information Property List
Creating an Application Bundle
Framework Bundles
Anatomy of a Framework Bundle
Creating a Framework Bundle
Loadable Bundles
Anatomy of a Loadable Bundle
Creating a Loadable Bundle
Localized Resources in Bundles
Accessing a Bundle's Contents
Locating and Opening Bundles
Getting the Main Bundle
Getting Bundles by Path
Getting Bundles in Known Directories
Getting Bundles by Identifier
Searching for Related Bundles
Getting References to Bundle Resources
The Bundle Search Pattern
Getting the Path to a Resource
Using Cocoa to Find Resources
Using Core Foundation to Find Resources
Opening and Using Resource Files
Finding Other Files in a Bundle
Getting the Bundle’s Info.plist Data
Loading and Unloading Executable Code
Loading Functions
Loading Objective-C Classes
Unloading Bundles
Document Packages
Defining Your Document Directory Structure
Registering Your Document Type
Creating a New Document Package
Accessing Your Document Contents
Glossary
Revision History