This is Motorcycle.h in view mode; [Download] [Up]
/*-------------------------------------------------------------------------- * * You may freely copy, distribute, and reuse the code in this example. * SHL Systemhouse disclaims any warranty of any kind, expressed or * implied, as to its fitness for any particular use. * * * Motorcycle * * Inherits From: NSObject * * Conforms To: None * * Declared In: Motorcycle.h * * Class Description * * A simple class describing a motorcycle object. * * *------------------------------------------------------------------------*/ #import <foundation/NSObject.h> @interface Motorcycle : NSObject { id make; id model; id price; id picture; } /*-------------------------------------------------------------------------- * Accessors *------------------------------------------------------------------------*/ - make; - model; - price; - picture; - (void) setMake: aString; - (void) setModel: aString; - (void) setPrice: aString; - (void) setPicture: aString; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.