This is MyObject.h in view mode; [Download] [Up]
//--------------------------------------------------------------------------------------------------------- // // MyObject // // Inherits From: Object // // Declared In: MyObject.h // // Class Description // // MyObject is a simple Object subclass that is 'palettized' // in this example. // // Disclaimer // // You may freely copy, distribute and reuse this software and its // associated documentation. I disclaim any warranty of any kind, // expressed or implied, as to its fitness for any particular use. // //--------------------------------------------------------------------------------------------------------- #import <appkit/appkit.h> @interface MyObject: Object { id outlet; int state; } - (int)state; - setState: (int)newState; - action: sender; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.