24. Bundles
A bundle is a collection of executable code and related resources such as images, sounds, strings, and .nib
files. Ideally, bundles are able to simultaneously store multiple versions of each resource so that you can use one set of executable code with different resource versions based on the language or cultural preferences of the user. The Bundles pattern provides a mechanism for organizing and dynamically loading executable code and resources.
Like most design patterns, the Bundles pattern exists in many object-oriented development environments besides Cocoa. The Java programming language implements the Bundles pattern with JAR (Java ARchive) files that combine compiled Java classes and resources into a single compressed file in ...
Get Cocoa Design Patterns 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.