Bundles

A bundle is a collection of executable code and resources such as images, sounds, strings, and user interface elements. The code and resources are stored together within a directory structure. Each resource is stored in its own file. In fact, bundles store multiple versions of resources to enable localization. Localization refers to the ability to use one set of executable code with different resources based on the language or culture preferences of the user. The different user interface elements, strings, images, and so on, appropriate for different languages and cultures are stored separately within a bundle.

Within the code that programmers write, bundles are commonly loaded into running applications to implement plug-ins. An application ...

Get Cocoa® Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.