Interface builder and custom palettes ?
Interface builder and custom palettes ?
- Subject: Interface builder and custom palettes ?
- From: Robert Miller <email@hidden>
- Date: Tue, 04 Sep 2001 12:06:22 -0400
- Organization: RFM & Associates
Hello,
I have a custom palette object that I am developing which seems to
partially work. It is somewhat modeled after the bMoviePalette example.
I would like to extend the capability of my palette so that the user can
drop an image onto its view and have it associate that image
persistently when the nib gets loaded as well as display it when they
are using IB. My custom view is simply an NSScrollView that contains a
custom view as its document view. The custom view is designed such that
it handles drawing various types of media supported by quicktime. I've
noticed that IB seems to call my view's drawRect: method, etc. but, when
I assign an NSImage to my view implicitly, it does not get drawn? I'm
not able to derive how to do this by looking at the IB...h files alone.
Is there any other documentation available on custom IB palettes ? or
does someone have an example or other info they would share ?
Thanks in advance,
Regards,
Bob M.