This is ObjectPalette.m in view mode; [Download] [Up]
//---------------------------------------------------------------------------------------------------------
//
// ObjectPalette
//
// Inherits From: IBPalette
//
// Declared In: ObjectPalette.h
//
// 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 "ObjectPalette.h"
@implementation ObjectPalette
- finishInstantiate
{
// This method associates the object instance with some view that may be dragged in IB.
// Note: Must use IBObjectPboardType for Object subclass palettes...
[self associateObject: objectData type: IBObjectPboardType with: objectView];
return self;
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.