Mac OS X Reference Library Apple Developer
Search

Introduction to Dynamically Loading Code

This programming topic describes the available techniques for loading executable code while an application is running.

Limitations

Due to a limitation in the Objective-C runtime system, at the time of writing there is no way to unload Cocoa loadable bundles.

Organization of This Document

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

The following tasks are covered:

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. Finally, to learn more about the Core Foundation CFPlugIn API (CFPlugInRef), which is a popular architecture for bundle-based plug-ins, see Plug-ins; in addition, “Core Foundation CFPlugIn” in this document gives a summary of the architecture.




Last updated: 2007-08-10

Did this document help you? Yes It's good, but... Not helpful...