Re: IB and image drag and drop
Re: IB and image drag and drop
- Subject: Re: IB and image drag and drop
- From: "Erik M. Buck" <email@hidden>
- Date: Thu, 6 Sep 2001 16:22:30 -0500
NSImageView is a subclass of NSView.
NSMovieView is a subclass of NSView
Writing IB palettes is a black art that is to my knowledge completely
undocumented and different from the way it used to be done with previous
versions of IB. It should be trivial for you to drag a custom view from IB
and change its class to your spiffy image viewer class or you can use the
existing NSImageView that is on the palette. You can use the existing image
drag and drop support of NSImageView or you can look at the NSImage class,
the NSView class, and the drag & drop protocols to do it yourself.
----- Original Message -----