Release 1.0 Copyright ©1994 by Don Yacktman. All Rights Reserved.
Object (MiscBundleLoader) |
Declared In: | <misckit/MiscBundleLoader.h> |
Category Description |
Method Types |
Loading a bundled class | ![]() |
Class Methods |
loadClassBundle |
+ (Class)loadClassBundle:(const char *)className |
Returns a class object for the class named className. If the class is not already loaded into the application, then an
attempt is made to load a bundle named className.bundle from either the main bundle (app wrapper) or from the
bundle for the receiving class. (So, for example, one bundle with a class in it could conceivably contain other bundles
containing classes in them, with each set of bundles being loaded on an on-demand basis.) If the class cannot be found
nor can it be loaded, then nil is returned and an appropriate error message is printed to the console.
See also: - classNamed: (NXBundle) and -getPath:forResource:ofType: (NXBundle) |