This is Item.m in view mode; [Download] [Up]
// Item.m #import "Item.h" @implementation Item + new { int i; self = [super new]; for (i=0; i<MAX_COLUMNS; i++ ) cellStrings[i] = NULL; for (i=0; i<MAX_BITMAPS; i++ ) cellBitmaps[i] = nil; return self; } - setCell:aCell { cell = aCell; } - (BOOL)bogus { return bogus; } - (BOOL)shown { return shown; } - (char **)strings { return (char **)&cellStrings; } - (Bitmap **)bitmaps; { return (Bitmap **)&cellBitmaps; } - setName:(const char *)newName { strcpy(name, newName); return self; } - (char *)name { return name; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.