Contents

Introduction to Dynamically Loading Code

Explains how Cocoa applications can dynamically load code during execution.

Organization of This Document

To learn about the concepts related to dynamic loading, read the following articles:

About Loadable Bundles describes how loadable bundles are structured and when you should use them.

Loadable Bundles in Cocoa describes features specific to loadable bundles in Cocoa.

CFBundle and NSBundle describes the relationship between the Core Foundation CFBundle opaque type and the Cocoa NSBundle class.

Multi-Bundle Applications explains how to organize your application into multiple bundles for increased modularity and extensibility.

Plug-in Architectures describes the plug-in concept and how to architect an application around plug-ins.

The following tasks are covered:

Loading Bundles

Creating Loadable Bundles

Building Applications with Multiple Bundles

Creating Plug-in Architectures

Preventing Name Conflicts

Loading Objective-C Libraries From Java describes how to load an Objective-C dynamic library into a Java application.

See Also

It is recommended that you read Bundle Programming Guide as a prerequisite; this document provides an overview to bundles, including their purpose, types, structure, and the API for accessing bundle resources. Resource Programming Guide , which is a document related to Dynamically Loading Code , describes how to access non-code bundle resources, particularly those in nib files. Core Foundation CFPlugIn in this document gives a summary of the Core Foundation CFPlugin API architecture.

Next

Copyright © 2003, 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-12-16