This is NSObject.LoadImage.m in view mode; [Download] [Up]
#pragma .h #import <Foundation/NSObject.h>
#pragma .h #import <Foundation/NSString.h>
#pragma .h #import <AppKit/NSImage.h>
#import "NSObject.LoadImage.h"
#import "NSImage_MiscExtensions.h"
@implementation NSObject(LoadImage)
- (NSImage *)loadImageFromBundle:(NSString *)imageName
{
return [NSImage imageNamed:imageName inContext:self];
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.