FROM : Nick Zitzmann
DATE : Fri Nov 23 01:22:13 2007
On Nov 22, 2007, at 1:57 PM, Rick Mann wrote:
> In my Carbon app, my custom view had "Auxiliary Data" that I could
> set in IB, and then get at in the code. I used this to name a
> background image to display. My view would then load that image and
> display it.
>
> Is there something similar in Cocoa?
Not without using an IB palette.
> Alternatively, what's the way to display a background image in my
> Cocoa custom view?
Get the image as an NSImage or CIImage and use their composition
methods.
Nick Zitzmann
<http://www.chronosnet.com/>
DATE : Fri Nov 23 01:22:13 2007
On Nov 22, 2007, at 1:57 PM, Rick Mann wrote:
> In my Carbon app, my custom view had "Auxiliary Data" that I could
> set in IB, and then get at in the code. I used this to name a
> background image to display. My view would then load that image and
> display it.
>
> Is there something similar in Cocoa?
Not without using an IB palette.
> Alternatively, what's the way to display a background image in my
> Cocoa custom view?
Get the image as an NSImage or CIImage and use their composition
methods.
Nick Zitzmann
<http://www.chronosnet.com/>
| Related mails | Author | Date |
|---|---|---|
| Rick Mann | Nov 22, 22:57 | |
| Nick Zitzmann | Nov 23, 01:22 | |
| Rick Mann | Nov 23, 02:52 | |
| Nick Zitzmann | Nov 23, 03:03 | |
| I. Savant | Nov 23, 03:33 |






Cocoa mail archive

