I have a NSView hierarchy that is causing issues.
I'd like to apply a static (fixed) patterned image in the background of an IKImageBrowser. My view hierarchy is like so:
NSWindow
-> Content View
->-> MyCustomView
->->-> NSScrollView
->->->-> IKImageBrowser
I tried adding an NSImageView under the NSScrollview, and making the background color [NSColor clearColor] on the Imagebrowser and scroll view, but I end up with horrible graphic glitching issues... I assume because I have two views with clear set. Seems fine when just one clear view.
Does anyone have any advice on how I can achieve a patterned fixed background to the image browser?
I've figured this out.
I've subclassed NSScrollView and added the background there. I've then made the IKImageBrowserView background transparent. Seems to work.