This is ComplexObject.h in view mode; [Download] [Up]
/* * 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. * David A. Cheslow disclaims any warranty of any kind, expressed or implied, as to its * fitness for any particular use. */ #import <objc/Object.h> #import <strings.h> @interface ComplexObject:Object { char *lastName; char *firstName; char *middleInit; char *note; int radioButtonSelected; } - (char *)lastName; - (char *)firstName; - (char *)middleInit; - setLastName:(char *)newLastName; - setFirstName:(char *)newFirstName; - setMiddleInit:(char *)newMiddleInit; - (char *)note; - setNote:(char *)newNote; - (int)radioButtonSelected; - setRadioButtonSelected:(int)newSelection; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.