Objective-c: Bundle and Resource Management
Usage:
1
2
3
4
5
6
7
| NSBundle *bundle = [NSBundle mainBundle];
NSString *imagePath = [bundle pathForResource:@"mug_shot" ofType:@"tiff"]
NSImage *anImage = [[NSImage alloc] initWithContentsOfFile:imagePath];
|
Loading Code
Selectors:
load
principlaClass
classNamed