This is LFCompatibility.m in view mode; [Download] [Up]
#import <ansi/ansi.h> #import "LFCompatibility.h" @implementation NSString(LitteFoundationOmissions) + (id)string; { return [[[self alloc] init] autorelease]; } - (NSString *)substringWithRange:(NSRange)aRange; { return [self substringFromRange:aRange]; } @end @implementation NSDictionary(LitteFoundationOmissions) + dictionaryWithObject:(id)object forKey:(id)key { return [self dictionaryWithObjects:&object forKeys:&key count:1]; } @end @implementation NSArray(LitteFoundationOmissions) + arrayWithArray:(NSArray *)otherArray; { return [[[self alloc] initWithArray:otherArray] autorelease]; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.