This is CPlotStorage.m in view mode; [Download] [Up]
/* Generated by Interface Builder */
#import "CPlotStorage.h"
@implementation CPlotStorage
- storeX:(float *)x Y:(float *)y
{
[self addElement:x];
[self addElement:y];
return self;
}
- retrieveX:(float *)x Y:(float *)y
{
float X, Y;
X = *((float *)[self elementAt:0]);
Y = *((float *)[self elementAt:1]);
*x = X; *y = Y;
[self removeAt:1];
[self removeAt:0];
return self;
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.