Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interface builder and custom palettes ?



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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.