A window in Cocoa has a root-level view called "view content." This is the view that contains everything else in the window. By default, it is just empty, NSView . But you can easily create your own subclass of NSView , override the drawRect: method to draw a background image, and use it for your custom view.
However, it's easier to just use the plain old NSImageView . The advantage of this is that you can set, for example, autorun behavior to save the image attached to one corner (try this using Installer.app by resizing the installer window). You can also make it translucent so that the background appears a little. (Again, I think of Installer.app, your application may be completely different)
Hope you go in the right direction!
Alex
source share