This is RandomDataSource.h in view mode; [Download] [Up]
/* RandomDataSource.m: * You may freely copy, distribute, and reuse the code in this example. * NeXT disclaims any warranty of any kind, expressed or implied, as to its * fitness for any particular use. * * * */ #import <objc/Object.h> @interface RandomDataSource : Object { unsigned int rows, columns; id rowList; } - (unsigned int) rowCount; - (unsigned int) columnCount; - setValueFor:index at:(unsigned int) aPosition from:aValue; - getValueFor:index at:(unsigned int) aPosition into:aValue; - setRows:(unsigned int) rowCount; - setColumns:(unsigned int) columnCount; - empty; - loadData; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.