This is test06.m in view mode; [Download] [Up]
#include <objects/objects.h> #define N 20 int main() { int i; Array* array = [[Array alloc] init]; for (i = 0; i < N; i++) { [array addObject:[[Object alloc] init]]; } [array makeObjectsPerform:@selector(name)]; [[array objectAtIndex:0] hash]; [[array freeObjects] free]; printf("no errors\n"); exit(0); }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.