With a NSImage, I would set the window background this way:
I have an NSPDFImageRep which I would like to set as the background color. How may I do that?
Thanks in advanced!
Code:
[window setBackgroundColor:[NSColor colorWithPatternImage:img]]
Thanks in advanced!