[Previous] [Up] [Next]

NSBundle

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSBundle

NSBundle

Declared in: Foundation/NSBundle.h

Inherits from: NSObject

Conforms to: NSObject


Instance Variables

Methods


Class Methods

allBundles

+ (NSArray*) allBundles;

allFrameworks

+ (NSArray*) allFrameworks;

bundleForClass:

+ (NSBundle*) bundleForClass: (Class)aClass;

bundleWithPath:

+ (NSBundle*) bundleWithPath: (NSString*)path;

mainBundle

+ (NSBundle*) mainBundle;

pathForResource:ofType:inDirectory:

+ (NSString*) pathForResource: (NSString*)name ofType: (NSString*)extension inDirectory: (NSString*)bundlePath;


Instances Methods

bundlePath

- (NSString*) bundlePath;

classNamed:

- (Class) classNamed: (NSString*)className;

infoDictionary

- (NSDictionary*) infoDictionary;

initWithPath:

- (id) initWithPath: (NSString*)fullPath;

load

- (BOOL) load;

localizedStringForKey:value:

- (NSString*) localizedStringForKey: (NSString*)key value: (NSString*)value;

pathForResource:ofType:

- (NSString*) pathForResource: (NSString*)name ofType: (NSString*)extension;

pathForResource:ofType:inDirectory:

- (NSString*) pathForResource: (NSString*)name ofType: (NSString*)extension inDirectory: (NSString*)bundlePath;

pathsForResourcesOfType:inDirectory:

- (NSArray*) pathsForResourcesOfType: (NSString*)extension inDirectory: (NSString*)bundlePath;

principalClass

- (Class) principalClass;

resourcePath

- (NSString*) resourcePath;